JavaScript Objects The Strings Object-italics() - Javascript Objects

What is JavaScript String - italics() Method?

This method causes a string to be italic, as if it were in an <i> tag


Its syntax is as follows −

Return Value

Returns the string with <i> tag.


Try the following example.


<i>Hello world</i>

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

Javascript Objects Topics