Skip to content
Permalink
Browse files

[e] (0) <del> example

git-svn-id: http://svn.whatwg.org/webapps@3805 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Sep 11, 2009
1 parent ae6dd3b commit df807fe17d316f016d121112be83c71679c1040c
Showing with 34 additions and 2 deletions.
  1. +17 −1 index
  2. +17 −1 source
18 index




<h4 id=the-span-element><span class=secno>4.6.24 </span>The <dfn><code>span</code></dfn> element</h4>

<dl class=element><dt>Categories</dt>

<p><code><a href=#the-del-element>del</a></code> elements should not cross <a href=#paragraph title=paragraph>implied paragraph</a> boundaries.</p>

<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>&lt;h1&gt;To Do&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Empty the dishwasher&lt;/li&gt;
&lt;li&gt;&lt;del datetime="2009-10-11T01:25-07:00"&gt;Watch Walter Lewin's lectures&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;&lt;del datetime="2009-10-10T23:38-07:00"&gt;Download more tracks&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;Buy a printer&lt;/li&gt;
&lt;/ul&gt;</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>

18 source




<h4>The <dfn><code>span</code></dfn> element</h4>

<dl class="element">
<p><code>del</code> elements should not cross <span
title="paragraph">implied paragraph</span> boundaries.</p>

<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>&lt;h1>To Do&lt;/h1>
&lt;ul>
&lt;li>Empty the dishwasher&lt;/li>
&lt;li>&lt;del datetime="2009-10-11T01:25-07:00">Watch Walter Lewin's lectures&lt;/del>&lt;/li>
&lt;li>&lt;del datetime="2009-10-10T23:38-07:00">Download more tracks&lt;/del>&lt;/li>
&lt;li>Buy a printer&lt;/li>
&lt;/ul></pre>

</div>



<h4>Attributes common to <code>ins</code> and <code>del</code> elements</h4>

0 comments on commit df807fe

Please sign in to comment.
You can’t perform that action at this time.