Search This Blog

CSS Text Decorate Example

CSS Text Decorate Example :
<!DOCTYPE html>
<html>
<head>
<title> kod4u </title>
<style type="text/css">
#overline {
text-decoration: overline;
}

#linethg {
text-decoration: line-through;
}

#underline {
text-decoration: underline;
}
</style>
</head>
<body>
<h1> Text Decorate Example </h1>
<p id="overline"> text-decoration: overline </p>
<p id="linethg"> text-decoration: line-through </p>
<p id="underline"> text-decoration: underline </p>
<p> Here we use text-decoration property for set or remove decorations from text. LIKE overline, underline etc </p>
</body>
</html>
OUTPUT
CSS Text Decorate Example

No comments:

Post a Comment