Decorate a text in CSS

JavascriptWeb DevelopmentFront End Scripts

To decorate a text in CSS, use the text-decoration property. The following example demonstrates how to decorate a text. Possible values are none, underline, overline, line-through, blink.

      <p style = "text-decoration:underline;">
         This will be underlined
      <p style = "text-decoration:line-through;">
         This will be striked through.
      <p style = "text-decoration:overline;">
         This will have a over line.
      <p style = "text-decoration:blink;">
         This text will have blinking effect
Updated on 31-Jan-2020 06:38:41