<!DOCTYPE html>
<html lang="en-US">
<body>
<h1>CSS text-decoration-style Property</h1>
<p style="text-decoration-line: underline">This is a sentence</p>
<button onclick="myFunction()">Click Me</button>
<script>
var x = document.getElementsByTagName("p")[0];
function myFunction(){
x.style.textDecorationStyle = "wavy";
}
</script>
<p><strong>Note</strong>: click on the button to change the 'text-decoration-style' from solid to wavy.</p> </body>
</html>