The text-decoration of CSS learning every day

Source: Internet
Author: User

Text-decoration is a property of CSS that is decorated with an underscore, a middle line, an underscore, or no decoration on the text. The values are as follows:

1, none: Do not decorate any line. The value is the default value. As shown below:

            p{                        text-decoration:none;            }

Results:

2, Overline: The text is decorated underlined. As shown below:

            p{                        text-decoration:overline;            }

Results:

3, Line-through: To decorate the text a middle line, that is, from the middle through the text of a line. As shown below:

            p{                        text-decoration:line-through;            }

Results:

4, Underline: To decorate a text underline. As shown below:

            p{                        text-decoration:underline;            }

Results:

The text-decoration of CSS learning every day

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.