Decorate text using CSS

<html>
<head>
<style>
body{
background:lightblue;
}
h1{
text-decoration:none;
}
h2{
text-decoration:underline;
}
h3{
text-decoration:overline;
}
h4{
text-decoration:line-through;
}
h5{
text-decoration:blink;
}
</style>
</head>
<body>
<h1>There is no text text decoration</h1>
<h2>Using underline by CSS</h2>
<h3>Using overline by CSS</h3>
<h4>Using line-through by CSS</h4>
<h5>Using Blink by CSS</h5>

<body>
</html>
The output is given below:

1 comments:

Farhan Mukhi said...

You've probably decorated your home during the holidays, or perhaps for some major party (Senior Prom, anyone?), and so you know what a major pain such projects can be. Unwrapping trinkets, stringing lights or crepe paper, cleaning... it's enough to keep you from ever doing it again.


http://www.handycss.com/how/how-to-decorate-text-with-css/

Post a Comment