HTML text formatting

Source: Internet
Author: User
Tags deprecated

HTML can define a number of elements for formatting output, such as bold and italic characters.

Here are a few examples where you can try it yourself:

HTML Text formatting instances
Text formatting
This example shows how to format text in an HTML file
Pre-formatted text
This example shows how to use the Pre tag to control blank lines and spaces.
"Computer Output" tab
This example shows the display of different computer output labels.
Address
This example shows how to write an address in an HTML file.
Abbreviations and acronyms
This example shows how to implement abbreviations or acronyms.
Text direction
This example shows how to change the direction of the text.
Block reference
This example shows how to implement a different length of the quote.
Delete Word effects and insert word effects
This example shows how to mark the deletion of text and insert text.
How to view HTML source code

Have you ever had this experience and when you see a great site, you would be interested to know how it was implemented by the developer?

Have you ever looked at some Web pages and wondered how it was made?

To reveal the technical secrets of a website is actually very simple. Click the browser's View menu and select View Source file. You will then see a popup window with the actual HTML code in the window.

Text formatting tags
label Description
<b> Defines bold text.
<big> Defines a large word.
<em> Defines the emphasis on text.
<i> defines italic words.
<small> Define small words.
<strong> Define the aggravating tone.
<sub> Defines the subscript word.
<sup> Defines the superscript word.
<ins> Defines the insertion word.
<del> Defines the deletion word.
<s> Do not approve of use. Use <del> instead.
<strike> Do not approve of use. Use <del> instead.
<u> Do not approve of use. Use style instead.

HTML text formatting

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.