Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
em tag
b tag
big tag
samp tag
small tag
tt tag
var tag
TAG: i
<i> ... </i>
The
i
tag causes the designated text to be displayed as an italic or oblique font style. If italic or oblique is not available for a particular font, the browser may impose some other physical change to the text, such as underline.
You can use the
em
tag to render in italics, the
dfn
tag to render in oblique, or use the style sheets
font-style
property to display in italics.
The separate closing tag is mandatory.
Core attributes:
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>DevGuru XHTML i Tag Example</title>
</head>
<body>
Did you know that the <b>Guru</b> is over <
i
>800 years old<
/i
>?
<br />
Did you know that the <b>Guru</b> is over <em>800 years old</em>?
</body>
</html>
Output:
Did you know that the
Guru
is over
800 years old
?
Did you know that the
Guru
is over
800 years old
?
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information