Next
/
Previous
/ Index
/ TCC Help System
/ Publications
/ Site map
/ NM Tech homepage
Changing typefaces in HTML
|
|
To display a section of text in a different font (typeface), place a
pair of font change tags around it. For example,
<b> starts boldface type, and
</b> ends it. Font changes can be nested.
Here is a list of HTML's font markup tags. The exact appearance of
each style may depend on the browser.
- Definitions:
<dfn>...</dfn>
- Emphasis:
<em>...</em>
- Book or film titles:
<cite>...</cite>
- Fixed-pitch font:
<code>...</code>
- User keyboard entry:
<kbd>...</kbd>
- Sample computer output:
<samp>...</samp>
- Strong emphasis:
<strong>...</strong>
- Definitions of variables:
<var>...</var>
- Boldface:
<b>...</b>
- Italic:
<i>...</i>
- Typewriter type:
<tt>...</tt>
Next: Including pictures and files in HTML
See also: The Web's source language: basic HTML
Previous: Formatting paragraphs and lists in HTML
Site map
Index:
Keyword index
to help pages
Help:
New Mexico Tech Computer Center: Help System
TCC Publications
Home:
About New Mexico Tech
John Shipman, john@nmt.edu
Last updated: 1996/07/25 16:46:10 UT
URL: http://www.nmt.edu/tcc/help/html/fonts.html