SEARCH
XHTML STRICT vs XHTML TRANSITIONAL
Posted in: Blog, Web Design by admin on June 24, 2009
XHTML is a number of document types that reproduce, branch, and broaden HTML4. It is designed to work in conjunction with XML-based user agents. Most often times XHTML is viewed as a stricter version of HTML.
The major difference between XHTML and HTML4 reside in:
<p>This day is <em>nice</em></p> GOOD.
<p>This day is <em>nice</p></em> BAD.
<li> is different from <LI>
<p>This day is nice</p> <p>The sun is out</p> GOOD.
<p>This day is nice</p> The sun is out BAD.
<td rowspan="3"> GOOD
<td rowspan=3> BAD
<hr></hr> or <br /> <hr /> Good
<br> <hr> BAD
XHTML comes in two flavors strict and conditional.
XHTML Transitional may be used when you are making a change from an old markup to a more efficient modern one, or when you are left with an inherited markup that is not easily converted to comply with a strict DOCTYPE.
With all that has been said, one should always aim for XHTML Strict Markup.
XHTML Strict enforces the strict separation of document structure and document presentation. What i mean by that is the that the document presentation should be left or must be solely handled by CSS. Another benefit of using Strict XHTML is that web browser use their most standard compliant rendering modes while rendering your pages.
Elements that are not allowed in Strict DOCTYPEs:
Attributes not allowed in Strict DOCTYPEs:
Contextual Differences:
<div id="div-example">
< img src="#" />
</div>
That’s All Folks
Comments
The best information i have found exactly here. Keep going Thank you
Comment by buy_vigrxplus on July 14, 2009 at 9:28 am
The best information i have found exactly here. Keep going Thank you
Comment by LnddMiles on July 21, 2009 at 1:30 pm