Tuesday, 16 July 2013

CSS Styling Links or Example of Text Decoration Property in CSS


 
Defination:-

            Text Decoration means decoration added to  the text.

Syntax:-

object.style.textDecoration="overline"

Property of textdecoration in CSS:-






Example:-


<html>
<head>
<style>
       h4{ text-decoration: line-through; }
       h5{ text-decoration: overline; }
       h6{ text-decoration: underline; }
       a { text-decoration: none; }
      
</style>
</head>
<body>
<h4>CSS Text</h4>
<h5>CSS Text</h5>
<h6>CSS Text</h6>
<a href="textproperty.html">CSS Text</a>


This entry was posted in :

0 comments:

Post a Comment