Short URL: http://html5.org/r/5035
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 5035 | 9493 | Try to explain what 'text' means in the attribute table. | 2010-04-13 09:52 |
Index: source
===================================================================
--- source (revision 5034)
+++ source (revision 5035)
@@ -9675,7 +9675,15 @@
also included.</p>
+ <h5>Attributes</h5>
+ <p id="attribute-text">Except where otherwise specified, attributes
+ on <span>HTML elements</span> may have any string value, including
+ the empty string. Except where explicitly stated, is no restriction
+ on what text can be specified in such attributes.</p>
+
+
+
<h4><dfn>Content models</dfn></h4>
<p>Each element defined in this specification has a content model: a
@@ -100335,7 +100343,7 @@
<code title="attr-img-alt">img</code>;
<code title="attr-input-alt">input</code>
<td> Replacement text for use when images are not available
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">async</code>
<td> <code title="attr-script-async">script</code>
@@ -100366,7 +100374,7 @@
<th> <code title="">challenge</code>
<td> <code title="attr-keygen-challenge">keygen</code>
<td> String to package with the generated and signed public key
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">charset</code>
<td> <code title="attr-meta-charset">meta</code>
@@ -100411,7 +100419,7 @@
<th> <code title="">content</code>
<td> <code title="attr-meta-content">meta</code>
<td> Value of the element
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">contenteditable</code>
<td> <span title="attr-contenteditable">HTML elements</span>
@@ -100591,7 +100599,7 @@
<th> <code title="">http-equiv</code>
<td> <code title="attr-meta-http-equiv">meta</code>
<td> Pragma directive
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">icon</code>
<td> <code title="attr-command-icon">command</code>
@@ -100601,7 +100609,7 @@
<th> <code title="">id</code>
<td> <span title="attr-id">HTML elements</span>
<td> The element's <span title="concept-id">ID</span>
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">ismap</code>
<td> <code title="attr-img-ismap">img</code>
@@ -100638,7 +100646,7 @@
<th> <code title="">keytype</code>
<td> <code title="attr-keygen-keytype">keygen</code>
<td> The type of cryptographic key to generate
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">label</code>
<td> <code title="attr-command-label">command</code>;
@@ -100646,7 +100654,7 @@
<code title="attr-optgroup-label">optgroup</code>;
<code title="attr-option-label">option</code>
<td> User-visible label
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">lang</code>
<td> <span title="attr-lang">HTML elements</span>
@@ -100730,12 +100738,12 @@
<code title="attr-fe-name">select</code>;
<code title="attr-fe-name">textarea</code>
<td> Name of form control to use for <span>form submission</span> and in the <code title="dom-form-elements">form.elements</code> API
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">name</code>
<td> <code title="attr-form-name">form</code>
<td> Name of form to use in the <code title="dom-document-forms">document.forms</code> API
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">name</code>
<td> <code title="attr-iframe-name">iframe</code>;
@@ -100746,17 +100754,17 @@
<th> <code title="">name</code>
<td> <code title="attr-map-name">map</code>
<td> Name of <span>image map</span> to reference from the <code title="attr-hyperlink-usemap">usemap</code> attribute
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">name</code>
<td> <code title="attr-meta-name">meta</code>
<td> Metadata name
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">name</code>
<td> <code title="attr-param-name">param</code>
<td> Name of parameter
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">novalidate</code>
<td> <code title="attr-fs-novalidate">form</code>
@@ -100790,7 +100798,7 @@
<td> <code title="attr-input-placeholder">input</code>;
<code title="attr-textarea-placeholder">textarea</code>
<td> User-visible label to be placed within the form control
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">poster</code>
<td> <code title="attr-video-poster">video</code>
@@ -100813,7 +100821,7 @@
<th> <code title="">radiogroup</code>
<td> <code title="attr-command-radiogroup">command</code>
<td> Name of group of commands to treat as a radio button group
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">readonly</code>
<td> <code title="attr-input-readonly">input</code>;
@@ -100946,7 +100954,7 @@
<th> <code title="">summary</code>
<td> <code title="attr-table-summary">table</code>
<td> Explanatory text for complex tables for users of screen readers
- <td> Text*
+ <td> <a href="#attribute-text">Text</a>*
<tr>
<th> <code title="">tabindex</code>
<td> <span title="attr-tabindex">HTML elements</span>
@@ -100972,29 +100980,29 @@
<th> <code title="">title</code>
<td> <span title="attr-title">HTML elements</span>
<td> Advisory information for the element
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">title</code>
<td> <code title="attr-abbr-title">abbr</code>;
<code title="attr-dfn-title">dfn</code>
<td> Full term or expansion of abbreviation
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">title</code>
<td> <code title="attr-command-title">command</code>
<td> Hint describing the command
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">title</code>
<td> <code title="attr-link-title">link</code>
<td> Title of the link
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">title</code>
<td> <code title="attr-link-title">link</code>;
<code title="attr-style-title">style</code>
<td> Alternative style sheet set name
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">type</code>
<td> <code title="attr-hyperlink-type">a</code>;
@@ -101047,7 +101055,7 @@
<td> <code title="attr-button-value">button</code>;
<code title="attr-option-value">option</code>
<td> Value to be used for <span>form submission</span>
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">value</code>
<td> <code title="attr-input-value">input</code>
@@ -101068,7 +101076,7 @@
<th> <code title="">value</code>
<td> <code title="attr-param-value">param</code>
<td> Value of parameter
- <td> Text
+ <td> <a href="#attribute-text">Text</a>
<tr>
<th> <code title="">width</code>
<td> <code title="attr-canvas-width">canvas</code>;