HTML Basics
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.
The resources on this site come from the Internet and are used for learning and research by Internet enthusiasts. If your rights are accidentally infringed, please contact the webmaster in time to handle and delete them. Please understand!
IT Resource Hub » HTML Basics
IT Resource Hub » HTML Basics