Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

dreamweaver-london - divtags

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver-london - DivTags

dreamweaver-london - DivTags

ResolvedVersion Standard

Clare has attended:
Dreamweaver 8 Introduction course

DivTags

Hi,

Can anyone tell me how divtags work?


Thanks
Clare

RE: DivTags

Hi Claire,

DIV tags define a division or section in a document. They make web pages easier to manage, style, and manipulate.

DIV tags are not meant to replace P tags, as these are for paragraphs only. DIVs define more general divisions within a document. Also, DIV tags can contain nearly any other tag, but they can't be inside P tags.

It's a good idea to label DIV. For example, if you're defining the main content area of your site, you should name that DIV tag "maincontent". <DIV ID="maincontent">

This can make styling your document easier, as you may create a CSS style called #maincontent with all the border, background and any font styles you may like, and the maincontent DIV tag will then have those style properties.

I hope this helps and that you enjoyed your Dreamweaver Introduction course the other day.

If you have any further questions, please reply to this post, otherwise, please mark this question as resolved.

Regards, Rich

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Dreamweaver tip:

Xhtml vs html

When using dreamwear template or just creating a blank webpage, you are able to select the markup language you want to use. The main choices are either xhtml or html. It is now best to select xhtml as this will translate all the html into xml, so it is transmitted across the web in xml format. One of the main advantages of this is that it makes the site that you build much more compatible with the range of different web browsers that exist.

View all Dreamweaver hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.13 secs.