How to Italicize Text in HTML

By eHow Internet Editor

Rate: (1 Ratings)

In HTML text is italicized by giving the CSS property font-style a value of italic, or, more traditionally, enclosing it in the HTML I (or EM element.

Instructions

Difficulty: Easy

Things You’ll Need:

  • Text of HTML editor

Italicize Text Using CSS

Step1
Find the text you want to italicize. If it is not already surrounded by an HTML element such as P, SPAN, or DIV, enclose it in a SPAN by placing an opening tag before it and a closing tag afterwards.
Step2
Add the following STYLE attribute to the element surrounding the text to be italicized.
STYLE="font-style: italic; "
Alternatively, add a CLASS attribute to that element, specifying a class defined as being italicized with a declaration such as the following:
.my-italicized-class { font-style: italic; }
Step3
Type in the content that you want to italicize and selcet "Find Next." You should now see the matching content highlighted in the document.

Italicize Text in HTML

Step1
Find the text to be italicized.
Step2
Place an opening tag before the text and a closing tag afterwards.

Post a Comment

POST A COMMENT

Request a New How-To Article

Looking for more How To information? Chances are there’s an eHow member who knows how to do what you’re looking to do. Submit an article request now!

eHow Article: How to Italicize Text in HTML

eHow Internet Editor

eHow Internet Editor

Category: Internet

Articles: See my other articles

Related Ads

Internet

Veesites
Meet Virginia DeBolt eHow’s Internet Expert.