Posts in current category
May 03, 2021 20:00 HTML5
HTML5 is used to define the title, and the label is located within the label. Please refer to the following example:
Define a title for your HTML document:
<html> <head> <meta charset="utf-8"> <title>文档标题</title> </head> <body> 文档内容...... </body> </html>
All major browsers support the hashtag.
The label defines the title of the document and is required in all HTML documents.
Note: There cannot be more than one element in an HTML document.
Tip: If you miss the label, the document is invalid as HTML.
Labels support the global properties of HTML.
HTML tutorial: HTML header