Short URL: http://html5.org/r/3785
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 3785 | <head> examples | 2009-09-10 08:43 |
Index: source =================================================================== --- source (revision 3784) +++ source (revision 3785) @@ -10639,7 +10639,39 @@ <p>The <code>head</code> element <span>represents</span> a collection of metadata for the <code>Document</code>.</p> + <div class="example"> + <p>The collection of metadata in a <code>head</code> element can be + large or small. Here is an example of a very short one:</p> + + <pre><!doctype html> +<html> + <head> + <title>A document with a short head</title> + </head> + <body> + ...</pre> + + <p>Here is an example of a longer one:</p> + + <pre><!DOCTYPE HTML> +<HTML> + <HEAD> + <META CHARSET="UTF-8"> + <BASE HREF="http://www.example.com/"> + <TITLE>An application with a long head</TITLE> + <LINK REL="STYLESHEET" HREF="default.css"> + <LINK REL="STYLESHEET ALTERNATE" HREF="big.css" TITLE="Big Text"> + <SCRIPT SRC="support.js"></SCRIPT> + <META NAME="APPLICATION-NAME" CONTENT="Long headed application"> + </HEAD> + <BODY> + ...</pre> + + </div> + + + <h4>The <dfn><code>title</code></dfn> element</h4> <dl class="element">