What is HTML Tag?

Introduction of HTML Tag 

HTML Tag



HTML tags are part of the markup language. Which helps web browsers to convert HTML documents into web pages.
Simply put, HTML tags are instructions that allow different documents to be displayed in a web browser. For example, when the <img> tag is used, the web browser is instructed to publish the image, and if the <p> tag is used, the web browser is instructed to publish the paragraph.
To display the HTML tag in the middle of the angle brackets for example: <h1>. And close it with slash '/' in the middle of the angle brackets then the name of the tag for example: </h1>.
There are many tags in HTML that you have to close when you open them. These tags are called container tags such as: <h1>...</h1> tag. And there are many tags that don't need to be closed after opening. These tags are called empty tags like: <img>, <br> tag.

Post a Comment

0 Comments