W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2009

html5/markup/src syntax.html,1.60,1.61

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 30 Jul 2009 16:42:49 +0000
To: public-html-commits@w3.org
Message-Id: <E1MWYiP-0002cJ-Li@lionel-hutz.w3.org>
Update of /sources/public/html5/markup/src
In directory hutz:/tmp/cvs-serv9649/src

Modified Files:
	syntax.html 
Log Message:
streamlined the description of what a start tag is


Index: syntax.html
===================================================================
RCS file: /sources/public/html5/markup/src/syntax.html,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- syntax.html	20 Jul 2009 18:26:46 -0000	1.60
+++ syntax.html	30 Jul 2009 16:42:47 -0000	1.61
@@ -210,37 +210,25 @@
       case-insensitive.</li>
       <li>
       <dfn id="syntax-start-tags">Start tags</dfn>
-      must have the following format:
+      consist of the following parts, in exactly the following
+      order:
       <ol>
-        <li>The first character of a start tag must be a
+        <li>A
         "<code title="U+003C LESS-THAN SIGN">&lt;</code>"
         character.</li>
-        <li>The next
-        few characters of a start tag must be the element’s
+        <li>A
         <a href="#tag-name" title="syntax-tag-name">tag name</a>.</li>
-        <li>If there are to be any attributes in the next step,
-        there must first be one or more
-        <a href="#space"
-          title="space character">space characters</a>.</li>
-        <li>Then, the start tag may have
-        a number of
+        <li>Optionally, one or more
         <a href="#attribute">attributes</a>,
-        which may be separated from each other by one or more
+        each of which must be preceded by one or more
         <a href="#space">space characters</a>.</li>
-        <li>After any
-        <a href="#attribute">attributes</a>,
-        the start tag may have one or more
-        <a href="#space">space characters</a>.
-        (Note that some
-        <a href="#attribute">attributes</a>
-        are <em>required</em> to be followed by a space.</li>
-        <li>A start tag must be closed by a
-        "<code title="U+003E GREATER-THAN SIGN">&gt;</code>"
-        character.
-        <a href="#void-element">Void elements</a>
-        may have a single
+        <li>Zero or more
+        <a href="#space">space characters</a>.</li>
+        <li>Optionally, a
         "<code title="U+002F SOLIDUS">/</code>"
-        character before the closing
+        character, which may be present only if the element is a
+        <a href="#void-element">void element</a>.</li>
+        <li>A
         "<code title="U+003E GREATER-THAN SIGN">&gt;</code>"
         character.</li>
       </ol>
Received on Thursday, 30 July 2009 16:42:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 30 July 2009 16:43:02 GMT