Learn HTML

<div>

The <div> tag is used to group content.

<div>Content here</div>

Example:

Example tag div

More information at w3schools

<p>

The <p> tag is used for paragraphs of text.

<p>This is some text in a paragraph.</p>

Example:

Example tag p

More information at w3schools

<a>

The <a> tag is used for links.

<a href="https://www.w3schools.com">Visit W3Schools.com!</a>

Example:

Example tag a

More information at w3schools

<img>

The <img> tag is used to insert images.

<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600">

Example:

Example tag img

More information at w3schools

<h1> to <h6>

Heading tags are used to define titles and subtitles.

<h1>Main Title</h1>

Example:

Example tag h1 to h6

More information at w3schools

Download PDF

Download PDF from HTML section