HTML5 Study Notes 4 HTML text formatting,

Source: Internet
Author: User

HTML5 Study Notes 4 HTML text formatting,
HTML format tags

HTML uses tags <B> and <I> to format the output text, for example:BoldOrItalics

These HTML tags are called formatted tags.

Generally, <strong> replace bold labels <B> and <em> replace <I> labels.

However, the meanings of these labels are different:

<B> and <I> DefinitionsBoldOrItalicsText.
<Strong> or <em> indicates that the text you want to present is important, so highlight it.

<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>  

 

Common labels:

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.