<html>
<body>
<p id="demo" style="text-transform:lowercase;">This Is An Example PARAGRAPH.</p>
<button type="button" onclick="myFunction()">Return text transformation of p</button>
<script>
function myFunction() {
alert(document.getElementById("demo").style.textTransform);
}
</script>
</body>
</html>