1.

What is Modulus Operator (%) in JavaScript?

Answer»

To INCREASE the size of the text, you need to USE the JavaScript big() method. USING it, you can easily display a string in a font size BIGGER than the normal font.

The following is an example to create a text with big font:

&LT;html>    <head>       <title>JavaScript big()</title>    </head>    <body>       <script>          var myStr = "Demo Text";          document.write("Normal font: "+myStr)          document.write("<br>Bigger font: "+myStr.big());       </script>    </body> </html>

The output displays normal as well as bigger font using the <big> element: 



Discussion

No Comment Found