|
|
JavaScript bold() Method
JavaScript String Object
Definition and Usage
The bold() method is used to display a string in bold.
Syntax
Example
Example
Display a text in bold:
<script type="text/javascript">
var str="Hello world!";
document.write(str.bold());
</script>
|
Try it yourself »
|
JavaScript String Object
The Creators of XMLSpy are Pleased to Announce
|
|
|