none
html h1 tag syntax
Function:<h1> - <h6> tags can define titles. <h1> defines the largest heading. <h6> Defines the smallest heading.
Note: Since the h element has exact semantics, please carefully choose the appropriate tag level to structure the document. Therefore, please do not use title tags to change the font size within the same line. Instead, we should use cascading style sheet definitions to achieve beautiful display effects.
Note: In HTML 4.01, the "align" attribute of h1 - h6 elements is deprecated. In XHTML 1.0 Strict DTD, the "align" attribute of h1 - h6 elements is not supported.
html h1 tag example
<html> <body> <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> <p>請僅僅把標題標簽用于標題文本。不要僅僅為了產生粗體文本而使用它們。請使用其它標簽或 CSS 代替。</p> </body> </html>
Run instance ?
Click the "Run instance" button to view the online instance