Elements that are not allowed in Strict DOCTYPEs
Attributes not allowed in Strict DOCTYPEs
align(allowed on elements related to tables:
name(allowed in HTML 4.01 Strict, not allowed on
imgin XHTML 1.0 Strict)
Content model differences
An element type’s content model describes what may be contained by an instance of the element type. The most important difference in content models between Transitional and Strict is that
form elements may only contain block level elements. A few examples:
- text and images are not allowed immediately inside the body element, and need to be contained in a block level element like
inputelements must not be direct descendants of a
- text in
blockquoteelements must be wrapped in a block level element like
Go Strict and move all presentation to CSS
Something that can be helpful when doing the transition from Transitional to Strict DOCTYPEs is to focus on what each element of the page you are working on is instead of how you want it to look.
Worry about looks later and get the structure and semantics right first.