Tags

html tag

A tag is like a brick from which a website is built.

Here's what a typical basic HTML page layout looks like:

            <!DOCTYPE html>  - This tag indicates that we are dealing with an HTML document.
          
            <html> </html>  - The root tag of an HTML document.
              
            <head>
            
              
            </head>

              
            <body>
                    
            </body>


            

        
The main building block of any HTML page is the tag. Tags are used to define the structure and content of a page - such as headings, paragraphs, images, and links. Each tag has its own purpose and is usually opened and closed with matching angle brackets - for example, <p> and </p> for paragraphs.

We'll talk more about how it works in the next articles.