p text-decoration: overline; : p text « Tags « HTML / CSS






p text-decoration: overline;

     
<?xml version="1.0" encoding="iso-8859-1"?>
<!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">
<head>
<title>CSS Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type='text/css'>
p.underline {
  text-decoration: underline;
}

p.overline {
  text-decoration: overline;
}

p.line-through {
  text-decoration: line-through;
}

p.blink {
  text-decoration: blink;
}
</style>


</head>

<body>
<p class="underline">This paragraph uses the text-decoration property with a value of unerline.</p>
<p class="overline">This paragraph uses the text-decoration property with a value of overline.</p>
<p class="line-through">This paragraph uses the text-decoration property with a value of line-through.</p>
<p class="blink">This paragraph uses the text-decoration property with a value of blink.</p>
</body>
</html>

   
    
    
    
    
  








Related examples in the same category

1.P width: 600px; text-align: justify;
2.p text-indent: 37%;
3.p text-indent: 2.5em;
4.p text-indent: -5em; text-indent: -60px; text-indent: -60px;
5.p text-indent: -5em;
6.P text-align: justify
7.Use style to hide text
8.Text is larger than wrapper box
9.Text is large, bold, and aligned at the baseline. Subsequent lines are not indented.
10.p text-decoration: underline;
11.p text-decoration: line-through;
12.p text-decoration: blink;
13.p text-transform: none;
14.p text-transform: capitalize;
15.p text-transform: uppercase;
16.p text-transform: lowercase;
17.p text-align: right;
18.p text-align: center;
19.p text-align: justify;
20.p {text-align: left;text-align: right;text-align: center;
21.p text-indent: 25px;
22.p text-indent: 10%;
23.p text-indent: -15px;
24.p text-align: left;
25.p text-indent:3em;
26.Paragraph text is black and in 12pt font
27.Paragraph wraps text
28.text align to left
29.text-align:left, center, right
30.text-align: right;
31.text-align: left;
32.text-align: center;
33.Set text align to justify
34.Set text align to center
35.Text alignment: center, left and justify