text-decoration : text decoration : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » text decoration »

 

text-decoration


 

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>text-decoration effects</title>
  <style type="text/css">
    body {
      font: 12px/1.5em Georgia, serif;
    }
    p.one 
      text-decoration: underline overline line-through;
    }

  </style>
</head>
<body>
  <p class="one">A underlined line</p>
  <p class="two">An overlined line</p>
  <p class="three">A line with line-through</p>
  <p class="four">All three</p>
</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» text decoration