HTML Basics – 4 Examples
Don’t worry about the examples in this chapter that you haven’t studied yet.
You will learn about them in the following chapters.
HTML Title
HTML headings are defined using <h1> – <h6> tags.
<h1>This is a headin</h1>
<h2>This is a headin</h2>
<h3>This is a headin</h3>
HTML Paragraph
HTML paragraphs are defined by the <p> tag.
<p>This is a paragraph. </p>
<p>This is a paragraph. </p>
HTML Links
HTML links are defined using the <a> tag.
<a href = "https://www.it-res.com"> This is a link</a>
Tip: Specify the link’s address in the href attribute.
HTML Images
HTML images are defined using the <img> tag.
<img src = "https://www.it-res.com/wp-content/uploads/2025/07/1751921534-616a8bbeeac8fda.avif" width = "300" height = "200" />
Note: The name and dimensions of the image are provided as attributes.
END
Posted to: HTML/CSS
2025-05-22