Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to add dashed underline in html

Shulou Source: shulou.com Published: 2022-05-31 13:16:12 10月26日 Update

In this article Xiaobian for you to introduce in detail "how to add dotted line underline in html", the content is detailed, the steps are clear, the details are handled properly, I hope this "how to add dotted line underline in html" article can help you solve your doubts, the following follows the editor's ideas slowly in-depth, together to learn new knowledge.

Related attributes:

The text-decoration-style property specifies how lines are displayed.

Syntax:

Text-decoration-style: solid | double | dotted | dashed | wavy | initial | inherit

Attribute value:

Solid default value. The line is displayed as a single line.

The double lines are displayed as double lines.

Dotted lines are displayed as dotted lines.

The dashed lines are displayed as dashed lines.

The wavy lines are displayed as wavy lines.

Initial sets this property to its default value.

Inherit inherits this attribute from the parent element.

For example:

Underline the a tag with a dotted line

< a href = "#" >

Css how to set the dashed line / / css style code a {text-decoration-style: dotted;} read here, this "how to add a dashed line in html" article has been introduced, want to master the knowledge of this article also need to practice and use to understand, if you want to know more about the article, welcome to follow the industry information channel.

Tags: Dashed lines lines underscores attributes articles content proper code elements single lines ideas new knowledge more tags styles steps waves dots knowledge knowledge points Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Microsoft macOS OPPO Reno Docker