Skip to content
Permalink
Browse files

[e] (0) make <h1> example more precise

git-svn-id: http://svn.whatwg.org/webapps@3806 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Sep 11, 2009
1 parent df807fe commit ef46563ce949161030f29d0e80c912880e29aaee
Showing with 12 additions and 8 deletions.
  1. +6 −4 index
  2. +6 −4 source
10 index

<p>These two snippets are equivalent:</p>

<pre>&lt;h1&gt;Let's call it a draw(ing surface)&lt;/h1&gt;
<pre>&lt;body&gt;
&lt;h1&gt;Let's call it a draw(ing surface)&lt;/h1&gt;
&lt;h2&gt;Diving in&lt;/h2&gt;
&lt;h2&gt;Simple shapes&lt;/h2&gt;
&lt;h2&gt;Canvas coordinates&lt;/h2&gt;
&lt;h3&gt;Canvas coordinates diagram&lt;/h3&gt;
&lt;h2&gt;Paths&lt;/h2&gt;</pre>
&lt;h2&gt;Paths&lt;/h2&gt;
&lt;/body&gt;</pre>

<pre>&lt;section&gt;
<pre>&lt;body&gt;
&lt;h1&gt;Let's call it a draw(ing surface)&lt;/h1&gt;
&lt;section&gt;
&lt;h1&gt;Diving in&lt;/h1&gt;
&lt;section&gt;
&lt;h1&gt;Paths&lt;/h1&gt;
&lt;/section&gt;
&lt;/section&gt;</pre>
&lt;/body&gt;</pre>

</div>

10 source

<p>These two snippets are equivalent:</p>

<pre>&lt;h1>Let's call it a draw(ing surface)&lt;/h1>
<pre>&lt;body>
&lt;h1>Let's call it a draw(ing surface)&lt;/h1>
&lt;h2>Diving in&lt;/h2>
&lt;h2>Simple shapes&lt;/h2>
&lt;h2>Canvas coordinates&lt;/h2>
&lt;h3>Canvas coordinates diagram&lt;/h3>
&lt;h2>Paths&lt;/h2></pre>
&lt;h2>Paths&lt;/h2>
&lt;/body></pre>

<pre>&lt;section>
<pre>&lt;body>
&lt;h1>Let's call it a draw(ing surface)&lt;/h1>
&lt;section>
&lt;h1>Diving in&lt;/h1>
&lt;section>
&lt;h1>Paths&lt;/h1>
&lt;/section>
&lt;/section></pre>
&lt;/body></pre>

</div>

0 comments on commit ef46563

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