Menu

HTML Tags

Here's a list of some HTML tags.

Anchor

Anchor example: https://www.mtsac.edu/webdesign/html.html#anchor

<a id="anchor"></a>
<div id="anchor"></div>

Acronym or Abbreviation 'abbr'

Abbreviation Tag: OU

<abbr title="Omni Update">OU</abbr>

Superscript Text 'sup'

Footnotes, exponents, ordinal suffix
sup example: 10th

10<sup>th</sup>

Subscript 'sub'

sub example: H20

H<sub>2</sub>0

Fractions

  • ½
    &frac12;
  • &frac13;
  • &frac23;
  • ¼
    &frac14;
  • ¾
    &frac34;
  • &frac15;
  • &frac25;
  • &frac35;
  • &frac45;
  • &frac16;
  • &frac56;
  • &frac17;
  • &frac18;
  • &frac38;
  • &frac58;
  • &frac78;


Inline Font Awesome Icons

<i class="fa-brands fa-instagram"></i>
Change "i" to "span"
<span class="fa-brands fa-instagram"></span>

Colorize Font Awesome Button Icons
<headcode> <style type="text/css"> .pdf:after {color: #ffffff;} </style> </headcode> <!-- before closing head tag -->