JavaScript Tutorial/String/italics
String.italics()
The italics() method converts the string to an instance of the tag.</p>
<html>
<script language="JavaScript">
<!--
var myString = new String("Hello, World!");
document.write(myString.italics());
document.close();
-->
</script>
</html>