/    Sign up×
Community /Pin to ProfileBookmark

Only use [b]Strict[/b] Doctype headers when producing HTML 4.01 and XHTML 1.0 web pages. If you use [b]Transitional[/b] Doctypes you are incorporating deprecated Markup and your pages may render in Quirks mode thereby inviting problems.

Remember that if you serve XHTML as content (MIME) type [b]text/html[/b] (as 95%+ presently is) you are actually only producing HTML pages – if you wish to produce them as true XHTML (with XML functionality) pages you need to serve them as [b]application/xhtml+xml[/b] – see [url=http://jp29.org/test.php][u]Problems Serving XHTML 1.0 Web Pages[/u][/url]

James

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@COBOLdinosaurFeb 17.2013 — Or you stay current an use HTML5 and avoid the failed attempt to fuse HTML and XML.
×

Success!

Help @polyglot spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...