html5 elements used to make titles: 1. title element, which can define the title of the document, with the syntax "
Website title name "; 2. h1, h2, h3, h4 , h5, h6 elements can define the title in the document content, and the importance is decreasing from h1 to h6.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
html5 Title elements
1. Use the title element--the title of the website document
# The ##<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>php中文网</title> </head> <body> ... </body> </html>
2. Use the
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>php中文网</title> </head> <body> <h1>这是标题 1</h1> <h2>这是标题 2</h2> <h3>这是标题 3</h3> <h4>这是标题 4</h4> <h5>这是标题 5</h5> <h6>这是标题 6</h6> </body> </html>
html video tutorial"
The above is the detailed content of What elements do html5 use for titles?. For more information, please follow other related articles on the PHP Chinese website!