This text is underlined and overlined : text decoration « CSS « HTML / CSS






This text is underlined and overlined

  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title></title>
        <style type='text/css'>
      p {
          text-decoration: underline overline;
      }
        </style>
    </head>
    <body>
    <p>
      This text is underlined and overlined.
    </p>
    </body>
</html>

   
  








Related examples in the same category

1.'text-decoration' Example
2.text-decoration: underline overline
3.text-decoration: underline
4.text-decoration: overline
5.text-decoration: line-through
6.text-decoration: underline overline line-through
7.text-decoration: underline;
8.text-decoration: overline;
9.text-decoration: line-through;
10.text-decoration: blink;
11.text-decoration: underline overline;
12.text-decoration: underline line-through;
13.text-decoration: overline line-through;
14.text-decoration: underline;text-decoration: overline;text-decoration: line-through;text-decoration: blink;
15.text-decoration: underline overline line-through blink;
16.text-decoration: none for visited anchor
17.text-decoration: none for hover anchor
18.text-decoration: none; for anchor
19.text-decoration:underline;overline;line-through;blink;
20.text-decoration:underline;overline;line-through;blink;}
21.Various text decorations
22.text-decoration: underline overline line-through blink
23.This text is underlined, overlined, striken and blinking.
24.text-decoration:underline line-through
25.text-decoration:overline line-through