HTML Tags

The

PURPLE - CSS

DINO - HTML

DANCED - JS

Bold Tag (<b>)

The <b> tag makes text bold but doesn't add any extra importance to the text.

Example:

<p>This is a <b>bold</b> text.</p>

Paragraph Tag (<p>)

The <p> tag defines a paragraph and automatically adds space before and after the text.

Example:

<p>This is a paragraph.</p>

Heading Tags (<h1> to <h6> )

Heading tags create headings, with <h1> being the highest level (most important) and <h6> the lowest level (least important).

Example:

<h1>Heading 1</h1>
<h2>Heading 2</h2>

Ordered List Tag (<ol>)

The <ol> tag creates a numbered list, with each list item starting with a number.

Example: