Dihox Skills

In HTML we have opening tag and closing tag. Some time you can say start tag and end tag.

<tagname>content goes here...</tagname>

Example:

<p>This is paragraph</p>
or
<h1> This is heading</h1>

But some tags don’t required closed tag(end tag). Yes, <br> tag is the self closed tag. you don’t need to closed it.

Example:

<p>This is<br>paragraph with a line break.</p>

result:

HTML is not case sensitive, tags also not case sensitive. Means you can use uppercase or lowercase tags. like this

or

but Dihox Skills aways recommend correct way to write anything. So, please use lowercase for tags.

Anchor tag:

embed other web pages link to your web page, an anchor tag is used.

Here is, How you can use it:

<body>

<a href="https://skills.dihox.com/">Copy this body element and past in your editor</a>

</body>

href– is another attribute used to define the link.

Result: 

We will learn more in next lesson ✌🏼