html tag reference

(hypertext markup language) uses tags to define the structure and content of a web page. tags are enclosed in angle brackets (< >) and usually come in pairs: an opening tag and a closing tag.

these are not all of them but just a general list to get you going.

text formatting

<b> bold</b>

<strong> strong</strong>

<i> italic</i>

<em> emphasized</em>

<u> underlined</u>

<s> strikethrough</s>

<mark> highlighted </mark>

<small> small text </small>

<sub> h2O </sub>

<sup> x2</sup>

<code> inline code </code>

<pre> preformatted text:

function hello() { console.log("Hello World"); }
</pre>

structural elements

<h1>

header 1-6

</h1>

<p> paragraph</p>

<br> line
break</br>

<hr> horizontal rule


lists

<ul> unordered list:

</ul>

<ol> ordered list:

    <li>
  1. item 1
  2. </li>

    <li>
  3. item 2
  4. </li>
</ol>

link

<a href="www.atlanta.com"> anchor (link)</a>

media + embeds

<img src ="rottinginbed.jpg"> rotting in bed

<audio controls>
<source src="drugstore.mp3"> <type="audio/mpeg">
</audio>

<video width="200" controls>
<source src="antelope-state-park.MOV" type="video/mp4">
</video>