In case we want to apply the big font style to the text in the html page, we can use this approach.
<script> document.write("This is big text "); document.write(" This is big text".big()); </script>
In the above code snippet, we have written “This is big text” in both document.write lines but in the 2nd statement we have called the
big() method using the text that makes this text in big style as you can see in the below picture.
Views: 1571 | Post Order: 43