Common HTML Code Examples

Basic HTML page code:

Turn text into a heading:

Getting text/images on a new line:

Adding a background colour:

Changing the font, size and colour of text:

Adding an image:

Creating a link:

Adding a table to help organise content on a page:

Adding a bullet point list:

Share this page!