Learn Web Dev
HTML:-
An HTML document consists of two basic building blocks: 1. Tags 2. Attribute
Tags:- Tags are part of HTML. Text that appears on web browsers is all written within a tag. You have to use HTML tags for creating an HTML document.
Example of tags:
<html> </html>
<body> </body>
<img> </img>
<p> </p>
<h1> </h1>
Every HTML tag has its closing tag except some self-closing tags.
Some self-closing HTML tags:
<img> , <br> , <hr> etc.