Home > Article > Web Front-end > HTML basic summary recommendations (text format)
HTML text formatting tag
Tag | Description |
a4b561c25d9afb9ac8dc4d70affff419 | Define bold text |
907fae80ddef53131f3292ee4f81644b | Rendered as highlighted text |
< ;i> | define italic text |
d015d241ae6d34c34210679b5204fe85 | define small text |
8e99a69fbe029cd4e2b854e244eab143 | define important text |
b96cac025db4031319c29e1eb68f19d6 | Define subscript |
2cdea26b4c3988e37d674b56660962a7 | define superscript word |
426be984ffbbb815d7d88e3543a85d91 | define insertion word |
823db3943044a0a9a620ada8d4b1d965 | define deletion word |
Usual tags8e99a69fbe029cd4e2b854e244eab143 Replace the bold tag a4b561c25d9afb9ac8dc4d70affff419 with 907fae80ddef53131f3292ee4f81644b with 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 example:
This text is bold
This text is strong
This text is big
This text is emphasized
This text is italic
This text is small
This text contains subscript
This text contains superscript
Default texte03b848252eb9375d56be284e690e873This example demonstrates how to use the pre tag to control empty lines and spaces
Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks
Note: According to the HTML 5 specification, the a4b561c25d9afb9ac8dc4d70affff419 tag should be used as the last Select and use it only when no other tag is suitable. HTML 5 specification states: Titles should be represented by 4a249f0d628e2318394fd9b75b4636b1 - 4e9ee319e0fa4abc21ff286eeb145ecc tags, emphasized text should be represented by 907fae80ddef53131f3292ee4f81644b tags, important text should be represented by 8e99a69fbe029cd4e2b854e244eab143 tags, marked or high Highlighted text should be represented by a f920514e6447cf1d171079d1371f007f tag. Tip: You can also set bold text using the CSS "font-weight" property. css temporary HTML "computer output" tag
tag | description |
ffbe95d20f3893062224282accb13e8f | define computer code |
5e4e803d53d659f332070b5d4aa430db | define keyboard code |
0bf371feb11b3435a89b2a675f897085 | define computer code sample |
b7f90f73cad438258bf67e62f79b2113 | define variables |
e03b848252eb9375d56be284e690e873 | define preformatted text |
HTML citations, quotations, and tag definitions
tag | description |
8a7974376be5f6c00c121222b727adb9 | definition abbreviation |
208700f394e4cf40a7aa505373e0130b | Define address |
e343c76e1588a4261348483a942af6d1 | define text direction |
b8a712a75cab9a5aded02f74998372b4 | define long quotes |
1244aa79a84dea840d8e55c52dc97869 | define short quotes |
f3a85e1241a187c5ac462d886e9a968b | Definition reference, citation |
7f9d788ef50b059a7f76f3d2e4ccc9d1 | Define a definition project |
The above is the content of HTML basic summary recommendation (text format). For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!