What is the italics method?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is the italics method?

Rating:

The String object is a global object that is used to manipulate and format strings. The italics method is a formatting method of the String object that is used to convert the normal text to italics. The output of this method is the same as that of the <I> tag.

The syntax of this method is as follows:

stringobj.italics()

The following code will demonstrate the use of this method:

<body>
<script language="JavaScript">
var str="This is a string in italics"
document.write(str.italics())
</script>
</body>


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.