How to Add a Dotted Underline Beneath HTML Text

后端 未结 9 1535
挽巷
挽巷 2020-12-23 19:54

How do you underline html text so that the line beneath the text is dotted rather than the standard underline? Preferably, I would like to do this without using a separate C

9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-23 20:55

    It's impossible without CSS. In fact, the tag is simply adding text-decoration:underline to the text with the browser's built-in CSS.

    Here's what you can do:

    
    
    
    
    
    
    
    
    

提交回复
热议问题