Please visit our sponsors !
The <em> <strong> <dfn> <code> <samp> <kbd>
<var> <cite> tags
Definition and Usage
The following HTML tags are phrase elements. They are
not deprecated, but it is possible to achieve a much richer effect using
styles.
<em> |
Renders as emphasized text |
<strong> |
Renders as strong emphasized text |
<dfn> |
Defines a definition term |
<code> |
Defines computer code text |
<samp> |
Defines sample computer code |
<kbd> |
Defines keyboard text |
<var> |
Defines a variable |
<cite> |
Defines a citation |
Examples
This code: |
Produces this output: |
<em>This text is emphasized</em>
<strong>This text is strong</strong>
<dfn>This text is a definition term</dfn>
<code>This text is computer code</code>
<samp>This text is sample computer code</samp>
<kbd>This text is keyboard text</kbd>
<var>This text is a variable</var>
<cite>This text is a citation</cite>
|
This text is emphasized
This text is strong
This text is a definition term
This text is computer code
This text is sample computer code
This text is keyboard text
This text is a variable
This text is a citation
|
Standard Attributes
id, class, title, style, dir, lang |
For a full description, go to Standard
Attributes.
Event Attributes
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
Jump to: Top of Page
or HOME or
Printer friendly page
Search W3Schools:
What Others Say About Us
Does the world know about us? Check out these places:
Dogpile
Alta Vista
MSN
Google
Excite
Lycos
Yahoo
Ask Jeeves
We Help You For Free. You Can Help Us!
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.
Copyright 1999-2002 by Refsnes Data. All Rights Reserved
|