HTML Foundation-4 Instance


Release date:2024-01-30 Update date:2024-02-24 Editor:admin View counts:50

Label:

HTML Foundation-4 Instance

Don’t worry about the examples you haven’t learned in this chapter.

You will learn about them in the following chapters.

HTML title

The HTML title (Heading) is defined by the < H1 >-< h6 > tag.

Example

<h1>This is a title</h1><h2>This is a title</h2><h3>This is a title</h3>

HTML paragraph

HTML paragraphs are done through tags. <p> to define it.

Example

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

HTML link

HTML links are made through tags <a> to define it.

Example

<ahref="https://www.runoob.com">This is a link</a>

Tip: in href property to specify the address of the link.

You will learn more about attributes later in this tutorial.

HTML image

HTML images are created by tagging <img> to define it.

Example

<imgsrc="/images/logo.png"width="258"height="39"/>

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

Powered by TorCMS (https://github.com/bukun/TorCMS).