HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
3789<meta> examples.2009-09-10 09:20
@@ -11373,27 +11373,42 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>
    application.</span></p></dd>
 
    <dt><dfn title="meta-description">description</dfn></dt>
 
    <dd><p>The value must be a free-form string that describes the
    page. The value must be appropriate for use in a directory of
    pages, e.g. in a search engine.</p></dd>
 
    <dt><dfn title="meta-generator">generator</dfn></dt>
 
-   <dd><p>The value must be a free-form string that identifies the
-   software used to generate the document. This value must not be used
-   on hand-authored pages.</p></dd>
+   <dd>
+
+    <p>The value must be a free-form string that identifies the
+    software used to generate the document. This value must not be
+    used on hand-authored pages.</p>
+
+    <div class="example">
+
+     <p>Here is what a tool called "Frontweaver" could include in its
+     output, in the page's <code>head</code> element, to identify
+     itself as the tool used to generate the page:</p>
+
+     <pre>&lt;meta name=generator content="Frontweaver 8.2"></pre>
+
+    </div>
+
+   </dd>
 
   </dl>
 
 
+
   <h5>Other metadata names</h5>
 
   <p><dfn title="concept-meta-extensions">Extensions to the predefined
   set of metadata names</dfn> may be registered in the <a
   href="http://wiki.whatwg.org/wiki/MetaExtensions">WHATWG Wiki
   MetaExtensions page</a>.
 
   <p>Anyone is free to edit the WHATWG Wiki MetaExtensions page at any
   time to add a type. These new names must be specified with the
   following information:</p>
@@ -11895,20 +11910,31 @@ people expect to have work and what is necessary.
      LATIN SMALL LETTER L, a U+003D EQUALS SIGN (<code
      title="">=</code>), and then a <span>valid URL</span>.</li>
 
     </ul>
 
     <p>In the former case, the integer represents a number of seconds
     before the page is to be reloaded; in the latter case the integer
     represents a number of seconds before the page is to be replaced
     by the page at the given <span>URL</span>.</p>
 
+    <div class="example">
+
+     <p>A news organisation's front page could include the following
+     markup in the page's <code>head</code> element, to ensure that
+     the page automatically reloads from the server every five
+     minutes:</p>
+
+     <pre>&lt;meta http-equiv="Refresh" content="600"></pre>
+
+    </div>
+
    </dd>
 
   </dl>
 
   <p>There must not be more than one <code>meta</code> element with
   any particular state in the document at a time.</p>
 
 
   <h5>Other pragma directives</h5>
 
@@ -12056,20 +12082,37 @@ people expect to have work and what is necessary.
 
   </div>
 
   <p class="note">Using non-UTF-8 encodings can have unexpected
   results on form submission and URL encodings, which use the
   <span>document's character encoding</span> by default.</p>
 
   <p>In XHTML, the XML declaration should be used for inline character
   encoding information, if necessary.</p>
 
+  <div class="example">
+
+   <p>In HTML, to declare that the character encoding is UTF-8, the
+   author could include the following markup near the top of the
+   document (in the <code>head</code> element):</p>
+
+   <pre>&lt;meta charset="utf-8"></pre>
+
+   <p>In XML, the XML declaration would be used instead, at the very
+   top of the markup:</p>
+
+   <pre>&lt;?xml version="1.0" encoding="utf-8"?></pre>
+
+  </div>
+
+
+
 
   <h4>The <dfn><code>style</code></dfn> element</h4>
 
   <dl class="element">
    <dt>Categories</dt>
    <dd><span>Metadata content</span>.</dd>
    <dd>If the <code title="attr-style-scoped">scoped</code> attribute is present: <span>flow content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>If the <code title="attr-style-scoped">scoped</code> attribute is absent: where <span>metadata content</span> is expected.</dd>
    <dd>If the <code title="attr-style-scoped">scoped</code> attribute is absent: in a <code>noscript</code> element that is a child of a <code>head</code> element.</dd>

|