By being in a document, it implies a break before and after it
Use it to gain control over entire sections of a page with CSS. It can enclose other elements inside of it.
By being in a document, it implies a break before and after it
Use it to gain control over entire sections of a page with CSS. It can enclose other elements inside of it.
HTML 4.01 | ||||
Allows upper / lowercase tags | ||||
Non-close tags, others (sloppy) | ||||
doesn’t require a Doctype | ||||
XHTML | ||||
More strict, therefore easier to verify | ||||
Based on XML | ||||
Requires a doctype | ||||
In theory you can extend it to add your own tags | ||||
Even empty tags must be closed | ||||
Attributes must be ” ” tized |