[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Ivan Shmakov
Subject: [OT] HTML5
Date: Sun, 28 Dec 2014 21:45:29 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Steinar Bang <address@hidden> writes:
>>>>> Lars Ingebrigtsen <address@hidden>:
>>>>> Steinar Bang <address@hidden> writes:

 >>> Well, the web rendering could do with some improvements: properly
 >>> balanced tags, and Nic's JavaScript.

 >> Redundant end tags is not a requirement for proper HTML.

 > Not if HTML5 constitutes "proper HTML", no.

        HTML5 explicitly allows for (and gives more or less equal
        standing to) /both/ XML and “classic” HTML markup [1]:

    This specification defines an abstract language for describing
    documents and applications, […]

    There are various concrete syntaxes that can be used to transmit
    resources that use this abstract language, two of which are defined in
    this specification.

    The first such concrete syntax is the HTML syntax.  […]

    The second concrete syntax is the XHTML syntax, which is an
    application of XML.  […]

        Moreover, the HTML5 TR makes certain provisions for the HTML
        syntax, which make it possible to represent a sheer class of
        documents in a form that’d be both syntactically-valid HTML
        /and/ well-formed XML at the same time.  Namely:

        • <element /> may be used to represent any of the void elements;

        • the xml:lang attribute is allowed;

        • and so is xmlns.

[1] http://www.w3.org/TR/html5/introduction.html#html-vs-xhtml

FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A

reply via email to

[Prev in Thread] Current Thread [Next in Thread]