Basic HTML Reference Sheet

A cheat sheet for basic HTML code. Right-click and click "Inspect Element" in the menu on your favorite browser to see the code.

If you don't have a multi-button mouse (or are just a macOS user), click while pressing Control (^) to display the same menu.


Image:

Clickable image:


Comments (do not appear on the page):


List:


Really important heading!

Secondary heading

Tertiary heading

Other heading

Minor heading
Very minor heading

Regular paragraph, formatted one way

Also another regular paragraph, formatted slightly differently

Colored text

Slightly different colored text. And now it's gone!


Bold and italic (regular) text (shown below):

bold text

italic text


Link

Link (behaves the same as the link above)

Link (opens in new tab)

Link (opens in parent frame, embed this page in another page using iframes to see a difference)

Email link


JavaScript of a random number generator (with colored text!)

Generates numbers between 0 and 9, inclusive.

Hey! If you see this, please enable JavaScript.


Go back