How do I add a heading in html?



  • Using the <h1> tag.

    This heading is <h1> the biggest heading tag.

    <!DOCTYPE html>
    <html lang="en">
     
    <head>
      <meta charset="utf-8">
      <meta name="author" content="Goofy Bertwinkle">
      <meta name="description" content="List of movies"
      <meta name="keywords" content="movies, film, animation"
      <title>Big heading tag</title>
    </head>
     
    <body>
      <h1>Big Heading</h1>
      <hr>
    </body>
     
    </html>
    

    The screenshot shows the other heading tags too.
    screenshot-big-heading.png


Log in to reply
 

© Lightnetics 2024