File: tt.html

package info (click to toggle)
wdg-html-reference 4.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,528 kB
  • ctags: 305
  • sloc: makefile: 39
file content (62 lines) | stat: -rw-r--r-- 4,272 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
   "http://www.w3.org/TR/REC-html40/strict.dtd">
<html lang=en>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>TT - Teletype Text</title>
<link rev=Made href="mailto:liam@htmlhelp.com">
<link rel=Start href="../index.html">
<link rel=StyleSheet href="../style.css" type="text/css">
<link rel=StyleSheet href="../aural.css" type="text/css" media=aural>
<meta name="author" content="Liam Quinn">
<meta name="description" content="A description of HTML 4.0's TT element for teletype or monospaced text.">
<meta name="keywords" content="tt element, teletype text, monospaced text, HyperText Markup Language, HTML, HTML4, HTML 4.0, Web Design Group, WDG, &lt;tt&gt; tag">
</head>
<body>
<h2><img src="../wdglogo1.gif" width=250 height=83 alt="The Web Design Group"></h2>
<h1>TT - Teletype Text</h1>
<table>
  <tr valign=top>
    <th>Syntax</th>
    <td><strong class=required>&lt;TT&gt;</strong>...<strong class=required>&lt;/TT&gt;</strong></td>
  </tr>
  <tr valign=top>
    <th>Attribute Specifications</th>
    <td>
      <ul>
        <li><a href="../attrs.html">common attributes</a></li>
      </ul>
    </td>
  </tr>
  <tr valign=top>
    <th>Contents</th>
    <td><a href="../inline.html">Inline elements</a></td>
  </tr>
  <tr valign=top>
    <th>Contained in</th>
    <td><a href="../inline.html">Inline elements</a>, <a href="../block.html">block-level elements</a></td>
  </tr>
</table>
<p>The <strong class=html>TT</strong> element suggests that text be rendered as <em>teletype or monospaced text</em>. In most cases, use of a <a href="../phrase/index.html">phrase element</a> such as <strong class=html><a href="../phrase/code.html">CODE</a></strong>, <strong class=html><a href="../phrase/samp.html">SAMP</a></strong>, or <strong class=html><a href="../phrase/kbd.html">KBD</a></strong> is more appropriate since these elements express the <em>meaning</em> of the text more clearly.</p>
<p><a href="../../css/index.html">Style sheets</a> should be used to complement or replace instances of <strong class=html>TT</strong>. For example, replacing</p>
<p class=example><code class=html>&lt;H1&gt;&lt;TT&gt;My heading&lt;/TT&gt;&lt;/H1&gt;</code></p>
<p>with</p>
<p class=example><code class=html>&lt;H1&gt;My heading&lt;/H1&gt;</code></p>
<p>and</p>
<p class=example><code class=css>H1 { <a href="../../css/font/font-family.html">font-family</a>: monospace }</code></p>
<p>in a style sheet allows the author to change the presentation of all <strong class=html><a href="../block/h1.html">H1</a></strong> elements in an entire site by changing just one line in the style sheet.</p>
<h2>More Information</h2>
<ul>
  <li><a href="http://www.w3.org/TR/REC-html40/present/graphics.html#edef-TT">TT in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTML4.0 Recommendation</a></li>
  <li><a href="http://www.w3.org/TR/REC-html32#font-style">TT in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTML3.2 Recommendation</a></li>
  <li><a href="http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.7.2.3">TT in HTML2.0 Standard</a></li>
  <li><a href="../../wilbur/font/tt.html">TT in <abbr class=initialism title="Web Design Group">WDG</abbr> HTML3.2 Reference</a></li>
  <li><a href="http://www.malibutelecom.com/yucca/HTML3.2/5.60.html">TT in <cite>Learning HTML3.2 by Examples</cite></a></li>
</ul>
<div class=footer>
<address>Maintained by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a> &lt;<a href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</a>&gt;</address>
<p class=toolbar><img src="../wdglogo-small.gif" width=105 height=40 alt="Web Design Group ~"> <a href="../index.html" rel=Start>HTML4.0Reference</a>~ <a href="../olist.html">ElementsbyFunction</a>~ <a href="../alist.html">ElementsAlphabetically</a></p>
<p class=copyright>Copyright &copy; 1998 by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a>. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at <a href="http://www.opencontent.org/openpub/">http://www.opencontent.org/openpub/</a>).</p>
</div>
</body>
</html>