File: code.html

package info (click to toggle)
perlsgml 1996Oct09-6
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,452 kB
  • ctags: 792
  • sloc: perl: 4,639; makefile: 167
file content (131 lines) | stat: -rw-r--r-- 4,328 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>HTML 2.0 DTD: CODE element</TITLE>
</HEAD>
<BODY>
<H1>CODE</H1>
<p>
The &lt;CODE&gt; element indicates an example of code, typically
rendered in a mono-spaced font. The &lt;CODE&gt; element is intended for
short words or phrases of code; the
<a href="pre.html">&lt;PRE&gt;</a> block structuring
element is more appropriate
for multiple-line listings. For example:
</p>
<pre>
    &lt;p&gt;The expression &lt;code&gt;x += 1&lt;/code&gt;
    is short for &lt;code&gt;x = x + 1&lt;/code&gt;.
</pre>
<HR>
<H2>Content</H2>
<UL>
<LI>#PCDATA</LI>
<LI><A HREF="a.html"><STRONG>a</STRONG></A> -- Anchor; source and/or destination of a link
</LI>
<LI><A HREF="b.html"><STRONG>b</STRONG></A> -- Bold text
</LI>
<LI><A HREF="br.html"><STRONG>br</STRONG></A> -- Line break
</LI>
<LI><A HREF="cite.html"><STRONG>cite</STRONG></A> -- Name or title of cited work
</LI>
<LI><A HREF="code.html"><STRONG>code</STRONG></A> -- Source code phrase
</LI>
<LI><A HREF="em.html"><STRONG>em</STRONG></A> -- Emphasized phrase
</LI>
<LI><A HREF="i.html"><STRONG>i</STRONG></A> -- Italic text
</LI>
<LI><A HREF="img.html"><STRONG>img</STRONG></A> -- Image; icon, glyph or illustration
</LI>
<LI><A HREF="kbd.html"><STRONG>kbd</STRONG></A> -- Keyboard phrase, e.g. user input
</LI>
<LI><A HREF="samp.html"><STRONG>samp</STRONG></A> -- Sample text or characters
</LI>
<LI><A HREF="strong.html"><STRONG>strong</STRONG></A> -- Strong emphasis
</LI>
<LI><A HREF="tt.html"><STRONG>tt</STRONG></A> -- Typewriter text
</LI>
<LI><A HREF="var.html"><STRONG>var</STRONG></A> -- Variable phrase or substitutable
</LI>
</UL>
<HR>
<P>
<A HREF="code.attr.html"><STRONG>ATTRIBUTES</STRONG></A><BR>
<A HREF="code.cont.html"><STRONG>CONTENT DECLARATION</STRONG></A>
</P>
<DL>
<DT><STRONG>Tag Minimization</STRONG><DD>
Open Tag: <EM>REQUIRED</EM><BR>
Close Tag: <EM>REQUIRED</EM><BR>
</DL>
<HR>
<H2>Parent Elements</H2>
<UL COMPACT>
<LI><A HREF="a.html"><STRONG>a</STRONG></A> -- Anchor; source and/or destination of a link
</LI>
<LI><A HREF="address.html"><STRONG>address</STRONG></A> -- Address, signature, or byline for document or passage
</LI>
<LI><A HREF="b.html"><STRONG>b</STRONG></A> -- Bold text
</LI>
<LI><A HREF="blockquote.html"><STRONG>blockquote</STRONG></A> -- Quoted passage
</LI>
<LI><A HREF="body.html"><STRONG>body</STRONG></A> -- Document body
</LI>
<LI><A HREF="cite.html"><STRONG>cite</STRONG></A> -- Name or title of cited work
</LI>
<LI><A HREF="code.html"><STRONG>code</STRONG></A> -- Source code phrase
</LI>
<LI><A HREF="dd.html"><STRONG>dd</STRONG></A> -- Definition of term
</LI>
<LI><A HREF="dt.html"><STRONG>dt</STRONG></A> -- Term in definition list
</LI>
<LI><A HREF="em.html"><STRONG>em</STRONG></A> -- Emphasized phrase
</LI>
<LI><A HREF="form.html"><STRONG>form</STRONG></A> -- Fill-out or data-entry form
</LI>
<LI><A HREF="h1.html"><STRONG>h1</STRONG></A> -- Heading, level 1
</LI>
<LI><A HREF="h2.html"><STRONG>h2</STRONG></A> -- Heading, level 2
</LI>
<LI><A HREF="h3.html"><STRONG>h3</STRONG></A> -- Heading, level 3
</LI>
<LI><A HREF="h4.html"><STRONG>h4</STRONG></A> -- Heading, level 4
</LI>
<LI><A HREF="h5.html"><STRONG>h5</STRONG></A> -- Heading, level 5
</LI>
<LI><A HREF="h6.html"><STRONG>h6</STRONG></A> -- Heading, level 6
</LI>
<LI><A HREF="i.html"><STRONG>i</STRONG></A> -- Italic text
</LI>
<LI><A HREF="kbd.html"><STRONG>kbd</STRONG></A> -- Keyboard phrase, e.g. user input
</LI>
<LI><A HREF="li.html"><STRONG>li</STRONG></A> -- List item
</LI>
<LI><A HREF="p.html"><STRONG>p</STRONG></A> -- Paragraph
</LI>
<LI><A HREF="pre.html"><STRONG>pre</STRONG></A> -- Preformatted text
</LI>
<LI><A HREF="samp.html"><STRONG>samp</STRONG></A> -- Sample text or characters
</LI>
<LI><A HREF="strong.html"><STRONG>strong</STRONG></A> -- Strong emphasis
</LI>
<LI><A HREF="tt.html"><STRONG>tt</STRONG></A> -- Typewriter text
</LI>
<LI><A HREF="var.html"><STRONG>var</STRONG></A> -- Variable phrase or substitutable
</LI>
</UL>
<HR>
<P>
<A HREF="TOP-ELEM.html"><STRONG>Top Elements</STRONG></A>
<BR>
<A HREF="ALL-ELEM.html"><STRONG>All Elements</STRONG></A>
<BR>
<A HREF="ENTS.html"><STRONG>General Entities</STRONG></A><BR>
<A HREF="DTD-TREE.html#code"><STRONG>Tree</STRONG></A>
</P>
<HR>
<ADDRESS>
<A HREF="DTD-HOME.html">HTML 2.0 DTD</A>
</ADDRESS>
</BODY>
</HTML>