Skip to content

Commit

Permalink
Merge pull request #3415 from w3c/tidy-up-techniques-code
Browse files Browse the repository at this point in the history
Adding section
  • Loading branch information
alastc authored Sep 22, 2023
2 parents f1dce01 + 0748775 commit fafb379
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions techniques/client-side-script/SCR24.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ <h2>Description</h2>
<h2>Examples</h2>
<section class="example">
<h3>Using JavaScript to open a new tab / window</h3>
<section>
<h4>Markup:</h4>
<p>The script is included in the head of the document, and the link has an <code class="language-html">id</code> that can be used as a hook by the script.</p>

Expand Down Expand Up @@ -75,6 +76,8 @@ <h4>Script:</h4>
// The window was opened, so stop the browser processing further
return false;
}</code></pre>

</section>
</section>
</section>
<section id="tests">
Expand Down

0 comments on commit fafb379

Please sign in to comment.