- From: poot <cvsmail@w3.org>
- Date: Fri, 11 Sep 2009 17:30:02 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: <del> example (whatwg r3805) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2973&r2=1.2974&f=h http://html5.org/tools/web-apps-tracker?from=3804&to=3805 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2973 retrieving revision 1.2974 diff -u -d -r1.2973 -r1.2974 --- Overview.html 11 Sep 2009 04:31:01 -0000 1.2973 +++ Overview.html 11 Sep 2009 08:29:38 -0000 1.2974 @@ -15481,7 +15481,21 @@ <dt>DOM interface:</dt> <dd>Uses the <code><a href="#htmlmodelement">HTMLModElement</a></code> interface.</dd> </dl><p>The <code><a href="#the-del-element">del</a></code> element <a href="#represents">represents</a> a removal - from the document.<p><code><a href="#the-del-element">del</a></code> elements should not cross <a href="#paragraph" title="paragraph">implied paragraph</a> boundaries.<h4 id="attributes-common-to-ins-and-del-elements"><span class="secno">4.7.3 </span>Attributes common to <code><a href="#the-ins-element">ins</a></code> and <code><a href="#the-del-element">del</a></code> elements</h4><p>The <dfn id="attr-mod-cite" title="attr-mod-cite"><code>cite</code></dfn> attribute + from the document.<p><code><a href="#the-del-element">del</a></code> elements should not cross <a href="#paragraph" title="paragraph">implied paragraph</a> boundaries.<div class="example"> + + <p>The following shows a "to do" list where items that have been + done are crossed-off with the date and time of their + completion.</p> + + <pre><h1>To Do</h1> +<ul> + <li>Empty the dishwasher</li> + <li><del datetime="2009-10-11T01:25-07:00">Watch Walter Lewin's lectures</del></li> + <li><del datetime="2009-10-10T23:38-07:00">Download more tracks</del></li> + <li>Buy a printer</li> +</ul></pre> + + </div><h4 id="attributes-common-to-ins-and-del-elements"><span class="secno">4.7.3 </span>Attributes common to <code><a href="#the-ins-element">ins</a></code> and <code><a href="#the-del-element">del</a></code> elements</h4><p>The <dfn id="attr-mod-cite" title="attr-mod-cite"><code>cite</code></dfn> attribute may be used to specify the address of a document that explains the change. When that document is long, for instance the minutes of a meeting, authors are encouraged to include a fragment identifier
Received on Friday, 11 September 2009 08:30:44 UTC