1h1 {
2 text-decoration: overline;
3}
4
5h2 {
6 text-decoration: line-through;
7}
8
9h3 {
10 text-decoration: underline;
11}
12
13h4 {
14 text-decoration: underline overline;
15}
1<p style="text-decoration: none;"> There will be no effects. Default value </p>
2<p style="text-decoration: underline;"> Text will be underlined </p>
3<p style="text-decoration: overline;"> A line will be drawn over the text </p>
4<p style="text-decoration: line-through;"> Text will be strikethrough </p>
1a{
2 text-decoration:underline; // default in A tag
3 text-decoration:none;
4 text-decoration: overline;
5 text-decoration: line-through;
6 text-decoration: underline overline;
7}
8
9//My youtube:'https://www.youtube.com/HasibulIslambd'
1
2 h1 {
3 text-decoration: underline overline dotted red;
4
5 }
6
7h2 {
8 text-decoration: underline overline wavy
9 blue;
10}