Hlavní navigace

Názor k článku Kam směřuje internetová reklama od Daniel Dočekal - Pořád jste to nepochopil Martine? HTML 4.01 is a...

  • Článek je starý, nové názory již nelze přidávat.
  • 2. 1. 2002 16:33

    Daniel Dočekal (neregistrovaný)
    Pořád jste to nepochopil Martine?

    HTML 4.01 is a revision of the HTML 4.0 Recommendation first released on 18th December 1997. The revision fixes minor errors that have been found since then. The XHTML 1.0 spec relies on HTML 4.01 for the meanings of HTML tags. This allowed us to reduce the size of the XHTML 1.0 spec very considerably.

    Prostě HTML zůstalo HTML (a stojí u verze 4.01) a XHTML je něčím uplně jiným. Jediná vazba je ta, že XHTML se bez HTML 4.01 nehne nikam - protože HTML zůstává HTML :)

    Mohu citovat ještě více:

    XHTML 1.0 brings the Web of the future to content authors today. It is a reformulation of HTML 4 in XML, bringing the rigor of XML to HTML, and can be put to immediate use with existing browsers by following a few simple guidelines.

    XHTML is intended to be used in conjunction with tag sets from other XML vocabularies, so that in principle, you can combine say, XHTML tags with SVG graphics tags or XML tags from any other XML vocabulary.

    To write XHTML you need to use the XML syntax, which is slightly different from that of the HTML you use today. What are the differences? XML requires you to:

    make element and attribute names case-sensitive. XHTML uses lowercase.
    include end tags e.g. </p> and /li>
    add a / to empty elements, e.g. <br /> and <hr />
    quote all attribute values, e.g. <img src="duck.jpg" alt="Duck" />

    Jinymi slovy, pohybujeme se skutečně uplně, ale uplně jinde. A vyvoj XHTML směřuje ještě uplně jinam - obzvlašť díky tomu, že to NENÍ HTML které končí. XHTML je zcela jiná cesta a sami tvůrci to v http://www.w3.org/MarkUp/Activity jasně zdůrazňují.

    Takže skutečně, prosím, neblbněte lidem hlavu. Dělal to už microsoft s DHTML :) pak s XML.....
Upozorníme vás na články, které by vám neměly uniknout (maximálně 2x týdně).