Skip to the content.

When creating a web page, you add tags (known as markup) to the contents of the page These tags provide extra meaning and allow browsers to show users the appropriate structure for the page.

HEADINGS

HTML has six “levels” of headings

<h1> is used for main headings <h2> is used for subheadings If there are further sections under the subheadings then the <h3> element is used, and so on…

PARAGRAPHS

To create a paragraph, surround the words that make up the paragraph with an opening <p> tag and closing </p> tag.

BOLD & ITALIC

By enclosing words in the tags <b> and </b>, we can make characters appear bold. By enclosing words in the tags <i> and </i>, we can make characters appear italic.

SUPERSCRIPT & SUBSCRIPT

The <sup> element is used to contain characters that should be superscript such as the suffixes of dates or mathematical concepts like raising a number to a power. The <sub> element is used to contain characters that should be subscript. It is commonly used with foot notes or chemical formulas.