## (1), Title one is also the largest title. It is best to have only one on a page to highlight the importance;
(2)、 Title 2
(3)、< ;h3> Title Three
(4)、 Title Four (5)、 Title Five (6), Title Six is also the smallest, and also The last one does not have 7, 8, 9......<html> <head> <title>标题</title> </head> <body> <h1>我是标题一</h1><h2>我是标题二</h2><h3>我是标题三</h3><h4>我是标题四</h4><h5>我是标题五</h5><h6>我是标题六</h6> </body> </html>
<html> <head> <title>标题和段落</title> </head> <body> <h1>我是标题</h1><p>我是段落</p> </body> </html>
3. Let me introduce the text tags in paragraphs, which are used to add various effects
(2),< ;/b> Both of these are bold and highlighted text
(3), Text reduction
(4), Text amplification
(5), strike> These three strikethrough lines (generally appear in the price area, when comparing the original price and the current price, there will be a line in the middle of the original price, which is how to realize that line)
(6), < ;/u> Text underline,
[Note]:
Just wrap the text you want to change and it’s OK! , these are just some commonly used ones and there are many more. They are all used in the same way. Just check them out when the time comes.Code
<html> <head> <title>文字标签</title>
</head> <body> <h1>我是标题</h1> <p>我是<em>斜体1</em> 我是<i>斜体2</i></p> <p>我是<b>加粗1</b> 我是<strong>加粗2</strong></p> <p>我是<small>缩小文字</small></p> <p>我是<big>放大文字</big></p> <p>我是<s>删除线1</s> 我是<del>删除线2</del> 我是<strike>删除线3</strike></p> <p>我是<u>文字下划线</u></p> </body> </html>
The above is the detailed content of Detailed introduction to article title tags in HTML. For more information, please follow other related articles on the PHP Chinese website!