Skip to content

Commit

Permalink
Merge pull request #775 from w3c/H80-exampleupdate-233
Browse files Browse the repository at this point in the history
Updating 3rd example in H80
  • Loading branch information
alastc authored Jul 30, 2019
2 parents bf2c6d0 + 25fc41a commit d720883
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions techniques/html/H80.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ <h3>A document provided in three formats</h3>
</section>
<section class="example">
<h3>Newspaper Web site</h3>
<pre xml:space="preserve">&lt;h2&gt;&lt;a href="Stockmarket_05052007.htm&gt;Stock market soars as bullishness prevails&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;this week was a stellar week for the stock market as investing in gold rose 2%.
&lt;a href="Stockmarket_05052007.htm&gt;More here&lt;/a&gt;&lt;/p&gt; </pre>
<pre xml:space="preserve">&lt;div class=&quot;card-link&quot;&gt;
&lt;h2&gt;&lt;a href="Stockmarket_05052007.htm&gt;Stock market soars as bullishness prevails&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;this week was a stellar week for the stock market as investing in gold rose 2%.&lt;/p&gt;
&lt;/div&gt;</pre>
<p>A script is used to find each element with a class of <code>card-link</code> and append an additional paragraph with a &quot;Read more&quot; link at the end of the div with the class <code>.card-link</code> that goes to the same location as the link in the heading.</p>
</section>
</section><section id="tests"><h2>Tests</h2>
<section class="procedure"><h3>Procedure</h3>
Expand All @@ -75,4 +77,4 @@ <h3>Newspaper Web site</h3>
<li><a href="../html/H78">H78</a></li>
<li><a href="../html/H79">H79</a></li>
<li><a href="../html/H81">H81</a></li>
</ul></section><section id="resources"><h2>Resources</h2></section></body></html>
</ul></section><section id="resources"><h2>Resources</h2></section></body></html>

0 comments on commit d720883

Please sign in to comment.