HTML basic summary recommendations (text format)

黄舟
Release: 2016-12-21 16:20:45
Original
1237 people have browsed it

HTML text formatting tag

Tag Description
Define bold text
Rendered as highlighted text
< ;i> define italic text
define small text
define important text
Define subscript
define superscript word
define insertion word
define deletion word

Usual tagsReplace the bold tagwithwith thetag. However, the meanings of these tags are different:anddefine bold or italic text.ormeans 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
Copy after login

Default text

This 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
Copy after login

Note: According to the HTML 5 specification, thetag 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

-
tags, emphasized text should be represented bytags, important text should be represented bytags, marked or high Highlighted text should be represented by atag. Tip: You can also set bold text using the CSS "font-weight" property. css temporary HTML "computer output" tag

tag description
define computer code
define keyboard code
< samp> define computer code sample
define variables
define preformatted text

HTML citations, quotations, and tag definitions

tag description
definition abbreviation
Define address
< bdo> define text direction
define long quotes
define short quotes
Definition reference, citation
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)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!