Home > Web Front-end > CSS Tutorial > How to use css text-decoration attribute

How to use css text-decoration attribute

silencement
Release: 2019-05-27 15:18:11
Original
3118 people have browsed it

How to use css text-decoration attribute

CSS text-decoration attribute definition and usage instructions

The text-decoration attribute specifies the decoration added to the text.

Note: The modified color is set by the "color" attribute.

How to use css text-decoration attribute

Example:

Set h1, h2, h3 and h4 element text decoration

h1 {text-decoration:overline}
h2 {text-decoration:line-through}
h3 {text-decoration:underline}
Copy after login

Attribute value

How to use css text-decoration attribute

The above is the detailed content of How to use css text-decoration attribute. For more information, please follow other related articles on the PHP Chinese website!

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template