-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhtmlattr.h
163 lines (156 loc) · 3.98 KB
/
htmlattr.h
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/* $Header: d:/cvsroot/tads/html/htmlattr.h,v 1.2 1999/05/17 02:52:21 MJRoberts Exp $ */
/*
* Copyright (c) 1997 by Michael J. Roberts. All Rights Reserved.
*
* Please see the accompanying license file, LICENSE.TXT, for information
* on using and copying this software.
*/
/*
Name
htmlattr.h - HTML attributes
Function
Notes
Modified
09/01/97 MJRoberts - Creation
*/
#ifndef HTMLATTR_H
#define HTMLATTR_H
/*
* Attribute ID's. Each valid attribute name has an entry in this
* table. Note that the attribute ID's are global, so this table
* contains the union of all of the valid attributes from all of the
* tags. In addition, this table contains the valid value names for
* those attribute values that use enumerated value names; for example,
* the ALIGN attribute can be set to values such as LEFT, RIGHT, and
* CENTER, so these names use these ID's as well. It is always clear
* from context what a particular identifier means, so we put all of the
* identifier names into one big table for simplicity.
*/
enum HTML_Attrib_id_t
{
/* special value for invalid or unknown attribute */
HTML_Attrib_invalid,
HTML_Attrib_background,
HTML_Attrib_bgcolor,
HTML_Attrib_text,
HTML_Attrib_link,
HTML_Attrib_vlink,
HTML_Attrib_alink,
HTML_Attrib_align,
HTML_Attrib_compact,
HTML_Attrib_type,
HTML_Attrib_start,
HTML_Attrib_value,
HTML_Attrib_width,
HTML_Attrib_noshade,
HTML_Attrib_size,
HTML_Attrib_valign,
HTML_Attrib_border,
HTML_Attrib_cellspacing,
HTML_Attrib_cellpadding,
HTML_Attrib_nowrap,
HTML_Attrib_rowspan,
HTML_Attrib_colspan,
HTML_Attrib_height,
HTML_Attrib_name,
HTML_Attrib_checked,
HTML_Attrib_maxlength,
HTML_Attrib_src,
HTML_Attrib_multiple,
HTML_Attrib_selected,
HTML_Attrib_rows,
HTML_Attrib_cols,
HTML_Attrib_href,
HTML_Attrib_rel,
HTML_Attrib_rev,
HTML_Attrib_title,
HTML_Attrib_alt,
HTML_Attrib_hspace,
HTML_Attrib_vspace,
HTML_Attrib_usemap,
HTML_Attrib_ismap,
HTML_Attrib_codebase,
HTML_Attrib_code,
HTML_Attrib_face,
HTML_Attrib_color,
HTML_Attrib_clear,
HTML_Attrib_shape,
HTML_Attrib_coords,
HTML_Attrib_nohref,
HTML_Attrib_black,
HTML_Attrib_silver,
HTML_Attrib_gray,
HTML_Attrib_white,
HTML_Attrib_maroon,
HTML_Attrib_red,
HTML_Attrib_purple,
HTML_Attrib_fuchsia,
HTML_Attrib_green,
HTML_Attrib_lime,
HTML_Attrib_olive,
HTML_Attrib_yellow,
HTML_Attrib_navy,
HTML_Attrib_blue,
HTML_Attrib_teal,
HTML_Attrib_aqua,
HTML_Attrib_left,
HTML_Attrib_right,
HTML_Attrib_center,
HTML_Attrib_disc,
HTML_Attrib_square,
HTML_Attrib_circle,
HTML_Attrib_top,
HTML_Attrib_middle,
HTML_Attrib_bottom,
HTML_Attrib_password,
HTML_Attrib_checkbox,
HTML_Attrib_radio,
HTML_Attrib_submit,
HTML_Attrib_reset,
HTML_Attrib_file,
HTML_Attrib_hidden,
HTML_Attrib_image,
HTML_Attrib_all,
HTML_Attrib_rect,
HTML_Attrib_poly,
HTML_Attrib_justify,
HTML_Attrib_id,
HTML_Attrib_previous,
HTML_Attrib_remove,
HTML_Attrib_to,
HTML_Attrib_indent,
HTML_Attrib_dp,
HTML_Attrib_decimal,
HTML_Attrib_plain,
HTML_Attrib_continue,
HTML_Attrib_seqnum,
HTML_Attrib_layer,
HTML_Attrib_foreground,
HTML_Attrib_ambient,
HTML_Attrib_cancel,
HTML_Attrib_repeat,
HTML_Attrib_loop,
HTML_Attrib_random,
HTML_Attrib_fadein,
HTML_Attrib_fadeout,
HTML_Attrib_interrupt,
HTML_Attrib_sequence,
HTML_Attrib_replace,
HTML_Attrib_cycle,
HTML_Attrib_bgambient,
HTML_Attrib_statusbg,
HTML_Attrib_statustext,
HTML_Attrib_removeall,
HTML_Attrib_noenter,
HTML_Attrib_append,
HTML_Attrib_asrc,
HTML_Attrib_hsrc,
HTML_Attrib_hlink,
HTML_Attrib_char,
HTML_Attrib_word,
HTML_Attrib_forced,
HTML_Attrib_hover,
HTML_Attrib_input,
HTML_Attrib_volume
};
#endif /* HTMLATTR_H */