title element provides a title or name for the document. This title must provide a short but acurate description of the document's content or its purpose even when taken out of context (like, for example, when displayed in search results).
Below is an example of a very simple document with an adequate title. You may note the difference between the title and the main heading (
h1 element): while the title provides a short description that makes sense on its own, the main heading counts on the surrownding contents to achieve its purpose.
<!DOCTYPE html> <html> <head> <title>The consequences of global warming in the lifestyle of indigenous populations</title> </head> <body> <h1>The repercutions of global warming</h1> <p>Indigenous populations around the world are usually the most affected by global warming...</p> </body> </html>
For information about global attributes refer to this list of global attributes in HTML5.
For information about global events refer to this list of global events in HTML5.