英[bəʊld] 美[boʊld]
adj. Obvious, eye-catching; brave, fearless; reckless; steep
n. Bold font; bold font
Comparative: bolder Superlative: boldest
javascript bold() method syntax
Function: is used to display strings in bold.
Syntax: stringObject.bold()
javascript bold() method example
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> var str="Hello world!" document.write(str.bold()) </script> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance