Explore a little.C ProgrammingC++HTMLVisual BasicSystem AnalysisE-CommerceBCA Notes
LEARN SOMETHING NEW

Emphasized text in HTML

Read4BCA learning libraryFree access

Emphasized text in HTML

The <em>tag is used for creating a emphasized text in HTML.
This tag is a phrase tag. It renders as emphasized text.
This tag marks text that has stress emphasis which traditionally means that the text displayed in italics by the browser.

Example:

<!DOCTYPE html>
<html>
<head>
<title>Emphasized text</title>
</head>

<body>
Normal text <br>
<em> Emphasized text </em>
</body>
</html>

Output of this code will look like this:

Emphasized text in HTML example

This lesson preserves the original Read4BCA material. Some programming examples use older tools and syntax. View original page.