HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
50359493Try to explain what 'text' means in the attribute table.2010-04-13 09:52
@@ -9668,20 +9668,28 @@ background: transparent">blue&lt;/span>.&lt;/p></pre>
 
   </dl>
 
   <p>This is then followed by a description of what the element
   <span>represents</span>, along with any additional normative
   conformance criteria that may apply to authors<span title=""
   class="impl"> and implementations</span>. Examples are sometimes
   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
   description of the element's expected contents. An <span title="HTML
   elements">HTML element</span> must have contents that match the
   requirements described in the element's content model.</p>
 
   <p class="note">As noted in the conformance and terminology
   sections, for the purposes of determining if an element matches its
@@ -100328,21 +100336,21 @@ interface <span>HTMLDocument</span> {
      <th> <code title="">action</code>
      <td> <code title="attr-fs-action">form</code>
      <td> <span>URL</span> to use for <span>form submission</span>
      <td> <span>Valid URL potentially surrounded by spaces</span>
     <tr>
      <th> <code title="">alt</code>
      <td> <code title="attr-area-alt">area</code>;
           <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>
      <td> Execute script asynchronously
      <td> <span>Boolean attribute</span>
     <tr>
      <th> <code title="">autocomplete</code>
      <td> <code title="attr-form-autocomplete">form</code>;
           <code title="attr-input-autocomplete">input</code>
      <td> Prevent the user agent from providing autocompletions for the form control(s)
@@ -100359,21 +100367,21 @@ interface <span>HTMLDocument</span> {
     <tr>
      <th> <code title="">autoplay</code>
      <td> <code title="attr-media-autoplay">audio</code>;
           <code title="attr-media-autoplay">video</code>
      <td> Hint that the <span>media resource</span> can be started automatically when the page is loaded
      <td> <span>Boolean attribute</span>
     <tr>
      <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>
      <td> <span>Character encoding declaration</span>
      <td> <span>Preferred MIME name</span> of an encoding*
     <tr>
      <th> <code title="">charset</code>
      <td> <code title="attr-script-charset">script</code>
      <td> Character encoding of the external script resource
      <td> <span>Preferred MIME name</span> of an encoding*
@@ -100404,21 +100412,21 @@ interface <span>HTMLDocument</span> {
     <tr>
      <th> <code title="">colspan</code>
      <td> <code title="attr-tdth-colspan">td</code>;
           <code title="attr-tdth-colspan">th</code>
      <td> Number of columns that the cell is to span
      <td> <span>Valid non-negative integer</span> greater than zero
     <tr>
      <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>
      <td> Whether the element is <span>editable</span>
      <td> "<code title="">true</code>"; "<code title="">false</code>"
     <tr>
      <th> <code title="">contextmenu</code>
      <td> <span title="attr-contextmenu">HTML elements</span>
      <td> The element's context menu
      <td> ID*
@@ -100584,31 +100592,31 @@ interface <span>HTMLDocument</span> {
      <th> <code title="">hreflang</code>
      <td> <code title="attr-hyperlink-hreflang">a</code>;
           <code title="attr-hyperlink-hreflang">area</code>;
           <code title="attr-link-hreflang">link</code>
      <td> Language of the linked resource
      <td> Valid BCP 47 language tag
     <tr>
      <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>
      <td> Icon for the command
      <td> <span>Valid non-empty URL potentially surrounded by spaces</span>
     <tr>
      <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>
      <td> Whether the image is a server-side image map
      <td> <span>Boolean attribute</span>
 <!--END w3c-html-->
     <tr>
      <th> <code title="">itemid</code>
      <td> <span title="attr-itemid">HTML elements</span>
      <td> <span>Global identifier</span> for a microdata item
@@ -100631,29 +100639,29 @@ interface <span>HTMLDocument</span> {
     <tr>
      <th> <code title="">itemtype</code>
      <td> <span title="attr-itemtype">HTML elements</span>
      <td> <span>Item type</span> of a microdata item
      <td> <span title="absolute URL">Valid absolute URL</span>*
 <!--START w3c-html-->
     <tr>
      <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>;
           <code title="attr-menu-label">menu</code>;
           <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>
      <td> <span>Language</span> of the element
      <td> Valid BCP 47 language tag or the empty string
     <tr>
      <th> <code title="">list</code>
      <td> <code title="attr-input-list">input</code>
      <td> List of autocomplete options
      <td> ID*
@@ -100723,47 +100731,47 @@ interface <span>HTMLDocument</span> {
     <tr>
      <th> <code title="">name</code>
      <td> <code title="attr-fe-name">button</code>;
           <code title="attr-fe-name">fieldset</code>;
           <code title="attr-fe-name">input</code>;
           <code title="attr-fe-name">keygen</code>;
           <code title="attr-fe-name">output</code>;
           <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>;
           <code title="attr-object-name">object</code>
      <td> Name of <span>nested browsing context</span>
      <td> <span>Valid browsing context name or keyword</span>
     <tr>
      <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>
      <td> Bypass form control validation for <span>form submission</span>
      <td> <span>Boolean attribute</span>
     <tr>
      <th> <code title="">open</code>
      <td> <code title="attr-details-open">details</code>
      <td> Whether the details are visible
      <td> <span>Boolean attribute</span>
@@ -100783,21 +100791,21 @@ interface <span>HTMLDocument</span> {
      <td> <code title="attr-hyperlink-ping">a</code>;
           <code title="attr-hyperlink-ping">area</code>
      <td> <span title="URL">URLs</span> to ping
      <td> <span>Set of space-separated tokens</span> consisting of <span title="valid non-empty URL">valid non-empty URLs</span>
 <!--START w3c-html--><!--PING-->
     <tr>
      <th> <code title="">placeholder</code>
      <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>
      <td> Poster frame to show prior to video playback
      <td> <span>Valid non-empty URL potentially surrounded by spaces</span>
     <tr>
      <th> <code title="">preload</code>
      <td> <code title="attr-media-preload">audio</code>;
           <code title="attr-media-preload">video</code>
      <td> Hints how much buffering the <span>media resource</span> will likely need
@@ -100806,21 +100814,21 @@ interface <span>HTMLDocument</span> {
           "<code title="attr-media-preload-auto">auto</code>"
     <tr>
      <th> <code title="">pubdate</code>
      <td> <code title="attr-time-pubdate">time</code>
      <td> Whether the element's value represents a publication time for the nearest <code>article</code> or <code>body</code>
      <td> <span>Boolean attribute</span>
     <tr>
      <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>;
           <code title="attr-textarea-readonly">textarea</code>
      <td> Whether to allow the value to be edited by the user
      <td> <span>Boolean attribute</span>
     <tr>
      <th> <code title="">rel</code>
      <td> <code title="attr-hyperlink-rel">a</code>;
           <code title="attr-hyperlink-rel">area</code>;
@@ -100939,21 +100947,21 @@ interface <span>HTMLDocument</span> {
      <td> <span>Valid floating point number</span> greater than zero, or "<code title="">any</code>"
     <tr>
      <th> <code title="">style</code>
      <td> <span title="attr-style">HTML elements</span>
      <td> Presentational and formatting instructions
      <td> CSS declarations*
     <tr>
      <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>
      <td> Whether the element is focusable, and the relative order of the element for the purposes of sequential focus navigation
      <td> <span>Valid integer</span>
     <tr>
      <th> <code title="">target</code>
      <td> <code title="attr-hyperlink-target">a</code>;
           <code title="attr-hyperlink-target">area</code>
      <td> <span>Browsing context</span> for <span>hyperlink</span> <span title="navigate">navigation</span>
@@ -100965,43 +100973,43 @@ interface <span>HTMLDocument</span> {
      <td> <span>Valid browsing context name or keyword</span>
     <tr>
      <th> <code title="">target</code>
      <td> <code title="attr-fs-target">form</code>
      <td> <span>Browsing context</span> for <span>form submission</span>
      <td> <span>Valid browsing context name or keyword</span>
     <tr>
      <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>;
           <code title="attr-hyperlink-type">area</code>;
           <code title="attr-link-type">link</code>
      <td> Hint for the type of the referenced resource
      <td> <span>Valid MIME type</span>
     <tr>
      <th> <code title="">type</code>
      <td> <code title="attr-button-type">button</code>
@@ -101040,42 +101048,42 @@ interface <span>HTMLDocument</span> {
      <th> <code title="">usemap</code>
      <td> <code title="attr-hyperlink-usemap">img</code>;
           <code title="attr-hyperlink-usemap">object</code>
      <td> Name of <span>image map</span> to use
      <td> <span>Valid hash-name reference</span>*
     <tr>
      <th> <code title="">value</code>
      <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>
      <td> Value of the form control
      <td> varies*
     <tr>
      <th> <code title="">value</code>
      <td> <code title="attr-li-value">li</code>
      <td> Ordinal value of the list item
      <td> <span>Valid integer</span>
     <tr>
      <th> <code title="">value</code>
      <td> <code title="attr-meter-value">meter</code>;
           <code title="attr-progress-value">progress</code>
      <td> Current value of the element
      <td> <span>Valid floating point number</span>
     <tr>
      <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>;
           <code title="attr-dim-width">embed</code>;
           <code title="attr-dim-width">iframe</code>;
           <code title="attr-dim-width">img</code>;
           <code title="attr-dim-width">input</code>;
           <code title="attr-dim-width">object</code>;
           <code title="attr-dim-width">video</code>
      <td> Horizontal dimension

|