text-decoration:overline line-through : text decoration « CSS « HTML / CSS






text-decoration:overline line-through

  


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
    <head>
        <title>text-decoration</title>
        <style rel='stylesheet' type='text/css'>

body {
    font: 14px sans-serif;
}
p {
    padding: 5px 25px;
    background: lightblue;
    border: 1px solid black;
}
span.overthrough {
    text-decoration: overline line-through;
}
        </style>
    </head>
    <body>
            <span class='overthrough'>overline and line-through text</span>
            
        </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 and overlined
24.This text is underlined, overlined, striken and blinking.
25.text-decoration:underline line-through