- From: CVS User egraff <cvsmail@w3.org>
- Date: Mon, 08 Apr 2013 04:21:16 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-xhtml-author-guide In directory roscoe:/tmp/cvs-serv5142 Modified Files: html-xhtml-authoring-guide.html Log Message: Cleaned up the sample code and removed hyperlinks in the code, per bug 15006 --- /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html 2013/04/08 04:05:02 1.91 +++ /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html 2013/04/08 04:21:16 1.92 @@ -776,7 +776,7 @@ The example page could also be served as <code>'application/xhtml+xml'</code> instead, with the file extension .html, maintaining adherence to Polyglot markup and enabling the rendering of the SVG. </p> - <pre class="example highlight"> + <pre class="example"> <!DOCTYPE html> @@ -784,32 +784,32 @@ <head> <title>A Sample Page Using Polglot Markup</title> - <!-- The link element is self-closing as described in <a href="#empty-elements">Section 6.4 Void Elements</a> --> + <!-- The link element is self-closing as described in Section 6.4 Void Elements --> <!-- Style commands are included by linking to an external file rather than including them in-line, - as described in <a href="#script-and-style">Section 9. Script and Style</a> --> + as described in Section 9. Script and Style --> <link type="text/css" rel="stylesheet" href="Sample.css"/> </head> <body> <h1>Sample Page Using Polyglot Markup</h1> <p> - The source code for <a href="http://dev.w3.org/html5/html-xhtml-author-guide/SamplePage.html">this document</a> uses <a>polyglot markup</a>, + The source code for this document uses <a>polyglot markup</a>, a document that is a stream of bytes that parses into identical document trees (with the exception of the xmlns attribute on the root element) when processed as HTML and when processed as XML. - The source code for <a href="http://dev.w3.org/html5/html-xhtml-author-guide/SamplePage.html">this document</a> also contains additional comments about the use of + The source code for this document also contains additional comments about the use of <a>polyglot markup</a>. </p> <h2>Foreign Elements</h2> <p> The following shapes use SVG elements. - <a title="polyglot markup">Polyglot markup</a> introduces undeclared (native) default namespaces + Polyglot markup introduces undeclared (native) default namespaces for the the root SVG element (<svg>) and respects the mixed-case element names and values - when appropriate, as described in sections <a href="#element-level-namespaces">5.1 Element-Level Namespaces</a>, - <a href="#element-names">6.3.1 Element Names</a>, and <a href="#attribute-values">6.3.3 Attribute Values</a>. + when appropriate, as described in sections 5.1 Element-Level Namespaces, + 6.3.1 Element Names, and 6.3.3 Attribute Values. </p> - <!-- <a title="polyglot markup">Polyglot markup</a> declares the xlink: namespace on the <svg> element to maintain XML-compatibility --> + <!-- Polyglot markup declares the xlink: namespace on the <svg> element to maintain XML-compatibility --> <svg width="350" height="250" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g> <title>Three SVG shapes</title> @@ -844,26 +844,26 @@ </svg> <h2>Void Elements</h2> <!-- Given an empty instance of an element whose content model is not EMPTY (in this case, an empty paragraph) - <a>polyglot markup</a> does not use the minimized form, as described in <a href="#empty-elements">Section 6.4 Void Elements</a> --> + polyglot markup does not use the minimized form, as described in Section 6.4 Void Elements --> <p></p> <p> There is an empty <p> element before this paragraph. - <a title="polyglot markup">Polyglot markup</a> uses <p></p> and not <p />. + Polyglot markup uses <p></p> and not <p />. </p> <p> - <a title="polyglot markup">Polyglot markup</a> treats certain elements as self-closing, + Polyglot markup treats certain elements as self-closing, void elements, such as the following <img> element. </p> <img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"/> <p> - For more information, see <a href="#empty-elements">Section 6.4 Void Elements</a>. + For more information, see Section 6.4 Void Elements. </p> <h2>Required Elements</h2> <p> The following table uses the required <tbody> element, as described in - <a href="#required-elements">Section 6.1 Required Elements</a>. + Section 6.1 Required Elements. </p> <table> <tbody> @@ -888,7 +888,7 @@ <p> The following table uses the required <colgroup> element, as described in - <a href="#required-elements">Section 6.1 Required Elements</a>. + Section 6.1 Required Elements. </p> <table> <colgroup> @@ -919,7 +919,7 @@ <p> This paragraph uses the string "&amp;" for ampersands ("&") and uses the string "&#xA0;" for a nonbreaking space between the words "polyglot markup," as described in - <a href="#named-entity-references">Section 8. Named Entity References</a>. + Section 8. Named Entity References. </p> </body> </html>
Received on Monday, 8 April 2013 04:21:24 UTC