string.bold() : bold : String JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » String » bold »

 

string.bold()







The bold() method converts the string to an instance of the tag.












<html>  
    <script language="JavaScript">
    <!--

    var myString = new String("Hello, World!");

    document.write(myString.bold());

    document.close();

    -->
    </script>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo String
» bold