On the Internet, you can easily find a lot of criticism of programmers who write bad code. There are many articles about bad and good programmers, and even
special sites . But I am surprised at the almost complete indifference to the gossip written by the makers. In this article I will try to convey to you my thoughts on why the vast majority of sites on the Internet simply should not work.
Example.com result validation fragmentValidation
,
:
<N.B.> - </N.B.>
— . — , , , , «, ». , , , .
XHTML
- XHTML. « XHTML?». . .
, HTML, « », . XHTML XML, XML — . ,
XML-, .
. « » XHTML- , , *.xhtml. — . — , .
habrahabr.ru. Firefox« , ?» — .
Content-type
DOCTYPE, , ,
.
, , - - , . , , . , . Content-Type.
Dive into HTML5, HTTP-. :
Content-Type: text/html;
HTTP-, Web Developer Toolbar Firefox? , HTML, XHTML, .
. , . , . .
, , Content-Type :
application/xhtml+xml
?
XHTML- doctype, XHTML , -. . , CMS ( html-view),
,
CDATA . . .
XHTML — . , W3C, XHTML 2.0 HTML5.
, .