Quote:
Originally Posted by mozonia
Hey,I currently learning Html and have some question on Document type?What I mean is HTML 4.01.What is the diffrent between strict,transitional,frameset.When is the diffrent usage???Kindly appreciate your reply.
|
From W3school:
Strict: Use this when you want clean markup, free of presentational clutter. Use this together with Cascading Style Sheets (CSS)
Transitional: The Transitional DTD includes presentation attributes and elements that W3C expects to move to a style sheet. Use this when you need to use HTML's presentational features because your readers don't have browsers that support Cascading Style Sheets (CSS)
Frameset: The Frameset DTD should be used for documents with frames. The Frameset DTD is equal to the Transitional DTD except for the frameset element replaces the body element.