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 with a name that feels like it's taunting me. And now it's gone!

Hover over this sentence and see what you find! Not this sentence.


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.


Below is a plain text field.


Go back