UK [ɪˈtælɪks] US [ɪˈtælɪks]
n.italic, italic; italic (plural noun of italic)
javascript italics() method syntax
Function: Display the string in italics.
Syntax: stringObject.italics()
javascript italics() 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.italics()) </script> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance