Div Tags
fleurchild.com > Resources > Tutorials > Div Tags
Div tags are used to define areas within an HTML/XHTML document. When stylized with CSS, div tags in define a layout attributes (i.e. background colour, size, and positioning). This tutorial will show you the basics in properly coding an Auto-Centered Layout and a Fixed-Positioning Layout
Auto-Centered Layout
Basic Parts of a Layout
HTML
Copy and paste the following textarea onto your HTML editor, and you will notice the basic points above (shown in bullets) written in HTML.
CSS
Above, each part of the layout were given "ids" - using CSS, we can use the "ids" to give each part certain attributes.
#container#header#content#footer
to fleurchild.com, Julia's little corner of the webernet. Be sure to check out the many high-quality resources the site has made availible for you. If you have a request of any kind, don't be afraid to from me a message in the blog. Back to the Top.
