انواع مختلفی از سبک برای خط text-decoration را تنظیم می کند:
div.a {
text-decoration-line: underline;
text-decoration-style: solid;
}
div.b {
text-decoration-line: underline;
text-decoration-style: wavy;
}
div.c {
text-decoration-line: underline;
text-decoration-style: double;
}
div.d {
text-decoration-line: overline underline;
text-decoration-style: wavy;
}
امتحان کنید :
#myDIV {
text-decoration: underline;
text-decoration-style:solid;
}