Home > Article > Web Front-end > Knowledge summary of HTML text format
This time I will bring you a knowledge summary of HTML text format. What are the precautions when using HTML text format knowledge summary? Here are practical cases, let’s take a look.
HTML text formatting tag
Tag
Description
<b> 定义粗体文本 <em> 呈现为被强调的文本 <i> 定义斜体字 <small> 定义小号字 <strong> 定义重要文本 <sub> 定义下标字 <sup> 定义上标字 <ins> 定义插入字 <del> 定义删除字
Usual tag 8e99a69fbe029cd4e2b854e244eab143 replace the bold tag a4b561c25d9afb9ac8dc4d70affff419 to use, < ;em> is used instead of the 5a8028ccc7a7e27417bff9f05adf5932 tag. However, the meanings of these tags are different: a4b561c25d9afb9ac8dc4d70affff419 and 5a8028ccc7a7e27417bff9f05adf5932 define bold or italic text. 8e99a69fbe029cd4e2b854e244eab143 or 907fae80ddef53131f3292ee4f81644b means that the text you are presenting is important, so highlight it. All major browsers today can render fonts in a variety of effects. However, future browsers may support better rendering. Text code case list:
<html> <body> <b>This text is bold</b> <br /> <strong>This text is strong</strong> <br /> <big>This text is big</big> <br /> <em>This text is emphasized</em> <br /> <i>This text is italic</i> <br /> <small>This text is small</small> <br /> This text contains <sub>subscript</sub> <br /> This text contains <sup>superscript</sup> </body> </html>
Default texte03b848252eb9375d56be284e690e873This example demonstrates how to use the pre tag to control blank lines and spaces
I believe you have mastered the method after reading these cases. For more exciting content, please pay attention to php Chinese website Other related articles!
Related reading:
Detailed examples of HTML text formatting
Special characters of html-css3 content: "Special How to use the symbol "
#What is the serialization format of HTML table
The above is the detailed content of Knowledge summary of HTML text format. For more information, please follow other related articles on the PHP Chinese website!