Day #6 : Web Development Journey

Hello Everyone !!!

I hope you are all doing well.
Today, I studied some commonly used tags in HTML and the basic structure of HTML.

  • Opening tag (<>) :- The opening tag is the one written at the beginning of an element in HTML.

  • Closing tag (</>) :- The closing tag is written at the end of an element in HTML and is usually preceded by a forward slash (/) to indicate the end of the element.

  • Self Closing tag (<…./>) :- A self-closing tag is an HTML tag that doesn't require a closing counterpart. It’s used for elements that don't have content inside them, such as <img> or <br>. These tags typically end with a slash before the closing bracket (e.g., <img />).

<img src="" alt="" />  <!-- an Example of Self closing tag -->

Element in HTML : -

An element in HTML is a complete set of content that consists of an opening tag, optional content, and a closing tag. It represents a specific part of a web page, such as text, images, links, or other types of content. For example,

<h1> Day #5 in Web Development Journey </h1>

Thank you….😊😊