Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Script HTML <tags/>New to Visual Studio Code? Get it now.

Script HTML <tags/>

2noscript

|
84 installs
| (1) | Free
none
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Script HTML <tags/>🧑‍💻

Support js,ts,jsx,tsx files 🪐🪂

github overview

Content sectioning

Command Result
address <address></address>
article <article></article>
aside <aside></aside>
footer <footer></footer>
header <header></header>
h1 <h1></h1>
h2 <h2></h2>
h3 <h3></h3>
h4 <h4></h4>
h5 <h5></h5>
h6 <h6></h6>
main <main></main>
nav <nav></nav>
section <section></section>

Text content

Command Result
blockquote <blockquote></blockquote>
dd <dd></dd>
div <div></div>
dl <dl></dl>
dt <dt></dt>
figcaption <figcaption></figcaption>
figure <figure></figure>
hr <hr/>
li <li></li>
ol <ol></ol>
p <p></p>
pre <pre></pre>
ul <ul></ul>

Inline text semantics

Command Result
a <a href=""></a>
abbr <abbr title=""></abbr>
br <br/>
cite <cite></cite>
code <code></code>
em <em></em>
mark <mark></mark>
small <small></small>
span <span></span>
strong <strong></strong>
time <time></time>

Image and multimedia

Command Result
audio <audio src=""></audio>
img <img src="" alt=""/>
track <track src="" />
video <video src=""></video>

Demarcating edits

Command Result
del <del></del>
ins <ins></ins>

Table content

Command Result
caption <caption></caption>
table <table></table>
tbody <tbody></tbody>
td <td></td>
tfoot <tfoot></tfoot>
th <th></th>
thead <thead></thead>
tr <tr key=""></tr>

Forms

Command Result
button <button></button>
datalist <datalist></datalist>
fieldset <fieldset></fieldset>
form <form></form>
input <input type=""></input>
label <label></label>
legend <legend></legend>
optgroup <optgroup></optgroup>
option <option value="" key=""></option>
progress <progress></progress>
select <select></select>
textarea <textarea cols="30" rows="10"></textarea>

Interactive elements

Command Result
details <details></details>
summary <summary></summary>
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft