JavaScript Tutorial/String/bold — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
(нет различий)

Версия 18:52, 25 мая 2010

string.bold()

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



<html>  
    <script language="JavaScript">
    <!--
    var myString = new String("Hello, World!");
    document.write(myString.bold());
    document.close();
    -->
    </script>
</html>