HTML Basics


Don't worry about the examples in this chapter that you haven't learned yet.

You will learn about them in the following chapters.


HTML Title

HTML heading (Heading) is defined by <h1>-<h6> tags.

Example

<h1>This is headline 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>

 Try It! 


HTML Paragraph

HTML paragraphs are defined by the tag <p>.

Example

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

 Try It! 


HTML Link

HTML links are defined by the tag <a>.

Example

<a href="https://www.tutorialfish.com">This is a link</a>

 Try It! 

Tip: Specify the link address in the href attribute.

(You will learn more about attributes in later chapters of this tutorial).


HTML Image

HTML images are defined by the tag <img>.

Example

<img loading="lazy" src="/images/logo.png" width="250" height="40" />

 Try It! 

Note: The name and size of the image are provided in the form of attributes.