85 of 133 menu

Tag main tag

The main tag defines the main part of the HTML page (content). It is used in the main structure of the page:

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <div id="wrapper"> <header> ... </header> <main> ... </main> <aside> ... </aside> <footer> ... </footer> </div> </body> </html>

See also

  • tag header,
    which defines the top part of the site
  • tag footer,
    which defines the bottom of the site
  • tag nav,
    which sets the main menu of the site's website
  • tag aside,
    which defines the side part of the site
byenru