CSS/HTML Text Decorate Code For Website - Learn About Website | DaddyFile

0

The other text-decoration values are used to decorate text.


Html Code:

<!DOCTYPE html>
<html>
<head>
<style>
h1 {
    text-decoration: overline;
}

h2 {
    text-decoration: line-through;
}

h3 {
    text-decoration: underline;
}
</style>
</head>
<body>

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>

</body>
</html>







Html Code Result:

This is heading 1

This is heading 2

This is heading 3



Post a Comment

 
Top