Skip to content

Commit

Permalink
[e] (0) <meta> examples.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3789 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 10, 2009
1 parent a5ab6cc commit 9607cc9
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 6 deletions.
48 changes: 45 additions & 3 deletions index
Expand Up @@ -10825,9 +10825,23 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p&gt;

<dt><dfn id=meta-generator 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.</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><a href=#the-head-element-0>head</a></code> element, to identify
itself as the tool used to generate the page:</p>

<pre>&lt;meta name=generator content="Frontweaver 8.2"&gt;</pre>

</div>

</dd>

</dl><h5 id=other-metadata-names><span class=secno>4.2.5.2 </span>Other metadata names</h5>

Expand Down Expand Up @@ -11264,6 +11278,17 @@ people expect to have work and what is necessary.
represents a number of seconds before the page is to be replaced
by the page at the given <a href=#url>URL</a>.</p>

<div class=example>

<p>A news organisation's front page could include the following
markup in the page's <code><a href=#the-head-element-0>head</a></code> element, to ensure that
the page automatically reloads from the server every five
minutes:</p>

<pre>&lt;meta http-equiv="Refresh" content="600"&gt;</pre>

</div>

</dd>

</dl><p>There must not be more than one <code><a href=#meta>meta</a></code> element with
Expand Down Expand Up @@ -11409,6 +11434,23 @@ people expect to have work and what is necessary.
<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><a href=#the-head-element-0>head</a></code> element):</p>

<pre>&lt;meta charset="utf-8"&gt;</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"?&gt;</pre>

</div>




<h4 id=the-style-element><span class=secno>4.2.6 </span>The <dfn><code>style</code></dfn> element</h4>

Expand Down
49 changes: 46 additions & 3 deletions source
Expand Up @@ -11380,13 +11380,28 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>

<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
Expand Down Expand Up @@ -11902,6 +11917,17 @@ people expect to have work and what is necessary.
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>
Expand Down Expand Up @@ -12063,6 +12089,23 @@ people expect to have work and what is necessary.
<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>

Expand Down

0 comments on commit 9607cc9

Please sign in to comment.