95 of 133 menu

The title tag

The title tag sets the title of the entire page, which will be visible in the browser tab. This tag should be placed inside the head tag, which contains the service content of the page.

Example

Let's look at the structure of a simple HTML page:

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>This is the title title</title> </head> <body> This is the main content of the page. </body> </html>

:

See also

  • tag doctype,
    which contains the page doctype
  • tag html,
    which is the main tag on the page
  • tag head,
    which contains service information
  • tag body,
    which contains the main content
  • tag meta,
    which contains meta data
byenru