Assignment 5: Markup
The title tag defines the title of a document. This action:
- defines a title in the browser toolbar.
- provides a title for the page when it is added to favorites.
- displays a title for the page in search-engine results.
You cannot have more than one title element. However, you must have the title element for the document to validate as HTML.
Important This is the only required element in the head.
<!DOCTYPE html> <html> <head> <!-- Other meta elements --> <title>My Way-Cool Awesome Site</title> </head> </html>
The title tag aptly contains your site's or page's title, and shows up on the browser's tabs.