JavaScript String italics()

❮ JavaScript String Reference

Example

let text = "Hello World!";
let result = text.italics();
Try it Yourself »

Description

String italics() is deprecated in JavaScript.

Avoid using it.

It may cease to work in your browser at any time.

The italics() method returns a string embedded in an <i> tag:

<i>string</i>


Syntax

string.italics()

Parameters

NONE

Retun Values

A string embedded in an <i> tag.

❮ JavaScript String Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.