HTML Skeletal Tags

Skeletal tags are the foundational structure blocks of every HTML document. Just like a shell holds the body together, these tags form the basic structure of your webpage.

Here are the essential Skeletal tags that must be included in every HTML document:

tag Description
<!DOCTYPE html>   Defines the document type and explanation of HTML being used (HTML5).
<html> The root element that wraps the entire HTML document.
<head> Contains metadata like title, links, and scripts that are not displayed on the browser.
<title> You can set the title of the document, and that will be shown in the browser's title bar or tab.
<body> Contains everything you see on the webpage, which is textbook, images, buttons, etc.

🧾 Example


        <!DOCTYPE html>
        <html lang="en">
          <head>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <title>My First Website</title>
          </head>
          <body>
            <h1>Hello, Coders!</h1>
          </body>
        </html>
          

This structure is the foundation of every web browser. Once you are familiar with this, you will be ready to explore more advanced elements!