Wednesday, February 8, 2012

Lecture 5 Notes

Headings range in size from h1 /h1 (the largest) to h6 /h6 (the smallest)

Empty Elements
In HTML and XHTML only a very few elements are declared as EMPTY. This means two things:

They do not contain any text. They are used simply as markers (and in some cases are used for whatever is contained in their attributes.
Empty attributes are not permitted to have an end-tag.

Common empty elements include.
• hr / Horizontal rule
• br / Line break
• img / Inline image

No comments:

Post a Comment