1 /* $LynxId: hdr_HTMLDTD.h,v 1.22 2011/10/07 00:54:36 Kihara.Hideto Exp $ */
2 #ifndef hdr_HTMLDTD_H
3 #define hdr_HTMLDTD_H 1
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 /*
9 
10    Element Numbers
11 
12    Must Match all tables by element!
13    These include tables in HTMLDTD.c
14    and code in HTML.c.
15 
16  */
17     typedef enum {
18 	HTML_A,
19 	HTML_ABBR,
20 	HTML_ACRONYM,
21 	HTML_ADDRESS,
22 	HTML_APPLET,
23 	HTML_AREA,
24 	HTML_AU,
25 	HTML_AUTHOR,
26 	HTML_B,
27 	HTML_BANNER,
28 	HTML_BASE,
29 	HTML_BASEFONT,
30 	HTML_BDO,
31 	HTML_BGSOUND,
32 	HTML_BIG,
33 	HTML_BLINK,
34 	HTML_BLOCKQUOTE,
35 	HTML_BODY,
36 	HTML_BODYTEXT,
37 	HTML_BQ,
38 	HTML_BR,
39 	HTML_BUTTON,
40 	HTML_CAPTION,
41 	HTML_CENTER,
42 	HTML_CITE,
43 	HTML_CODE,
44 	HTML_COL,
45 	HTML_COLGROUP,
46 	HTML_COMMENT,
47 	HTML_CREDIT,
48 	HTML_DD,
49 	HTML_DEL,
50 	HTML_DFN,
51 	HTML_DIR,
52 	HTML_DIV,
53 	HTML_DL,
54 	HTML_DLC,
55 	HTML_DT,
56 	HTML_EM,
57 	HTML_EMBED,
58 	HTML_FIELDSET,
59 	HTML_FIG,
60 	HTML_FN,
61 	HTML_FONT,
62 	HTML_FORM,
63 	HTML_FRAME,
64 	HTML_FRAMESET,
65 	HTML_H1,
66 	HTML_H2,
67 	HTML_H3,
68 	HTML_H4,
69 	HTML_H5,
70 	HTML_H6,
71 	HTML_HEAD,
72 	HTML_HR,
73 	HTML_HTML,
74 	HTML_HY,
75 	HTML_I,
76 	HTML_IFRAME,
77 	HTML_IMG,
78 	HTML_INPUT,
79 	HTML_INS,
80 	HTML_ISINDEX,
81 	HTML_KBD,
82 	HTML_KEYGEN,
83 	HTML_LABEL,
84 	HTML_LEGEND,
85 	HTML_LH,
86 	HTML_LI,
87 	HTML_LINK,
88 	HTML_LISTING,
89 	HTML_MAP,
90 	HTML_MARQUEE,
91 	HTML_MATH,
92 	HTML_MENU,
93 	HTML_META,
94 	HTML_NEXTID,
95 	HTML_NOFRAMES,
96 	HTML_NOTE,
97 	HTML_OBJECT,
98 	HTML_OL,
99 	HTML_OPTION,
100 	HTML_OVERLAY,
101 	HTML_P,
102 	HTML_PARAM,
103 	HTML_PLAINTEXT,
104 	HTML_PRE,
105 	HTML_Q,
106 	HTML_S,
107 	HTML_SAMP,
108 	HTML_SCRIPT,
109 	HTML_SELECT,
110 	HTML_SHY,
111 	HTML_SMALL,
112 	HTML_SPAN,
113 	HTML_SPOT,
114 	HTML_STRIKE,
115 	HTML_STRONG,
116 	HTML_STYLE,
117 	HTML_SUB,
118 	HTML_SUP,
119 	HTML_TAB,
120 	HTML_TABLE,
121 	HTML_TBODY,
122 	HTML_TD,
123 	HTML_TEXTAREA,
124 	HTML_TEXTFLOW,
125 	HTML_TFOOT,
126 	HTML_TH,
127 	HTML_THEAD,
128 	HTML_TITLE,
129 	HTML_TR,
130 	HTML_TT,
131 	HTML_U,
132 	HTML_UL,
133 	HTML_VAR,
134 	HTML_WBR,
135 	HTML_XMP,
136 	HTML_ALT_OBJECT
137     } HTMLElement;
138 
139 /* Notes: HTML.c uses a different extension of the
140           HTML_ELEMENTS space privately, see
141           HTNestedList.h.
142 
143    Do NOT replace HTML_ELEMENTS with
144    TABLESIZE(mumble_dtd.tags).
145 
146    Keep the following defines in synch with
147    the above enum!
148  */
149 
150 /* # of elements generally visible to Lynx code */
151 #define HTML_ELEMENTS 118
152 
153 /* # of elements visible to SGML parser */
154 #define HTML_ALL_ELEMENTS 119
155 
156 /*
157 
158    Attribute numbers
159 
160    Identifier is HTML_<element>_<attribute>.
161    These must match the tables in HTML.c!
162 
163  */
164 #define HTML_A_ACCESSKEY          0
165 #define HTML_A_CHARSET            1
166 #define HTML_A_CLASS              2
167 #define HTML_A_CLEAR              3
168 #define HTML_A_COORDS             4
169 #define HTML_A_DIR                5
170 #define HTML_A_HREF               6
171 #define HTML_A_HREFLANG           7
172 #define HTML_A_ID                 8
173 #define HTML_A_ISMAP              9
174 #define HTML_A_LANG              10
175 #define HTML_A_MD                11
176 #define HTML_A_NAME              12
177 #define HTML_A_NOTAB             13
178 #define HTML_A_ONBLUR            14
179 #define HTML_A_ONFOCUS           15
180 #define HTML_A_REL               16
181 #define HTML_A_REV               17
182 #define HTML_A_SHAPE             18
183 #define HTML_A_STYLE             19
184 #define HTML_A_TABINDEX          20
185 #define HTML_A_TARGET            21
186 #define HTML_A_TITLE             22
187 #define HTML_A_TYPE              23
188 #define HTML_A_URN               24
189 #define HTML_A_ATTRIBUTES        25
190 
191 #define HTML_ADDRESS_CLASS        0
192 #define HTML_ADDRESS_CLEAR        1
193 #define HTML_ADDRESS_DIR          2
194 #define HTML_ADDRESS_ID           3
195 #define HTML_ADDRESS_LANG         4
196 #define HTML_ADDRESS_NOWRAP       5
197 #define HTML_ADDRESS_STYLE        6
198 #define HTML_ADDRESS_TITLE        7
199 #define HTML_ADDRESS_ATTRIBUTES   8
200 
201 #define HTML_APPLET_ALIGN         0
202 #define HTML_APPLET_ALT           1
203 #define HTML_APPLET_CLASS         2
204 #define HTML_APPLET_CLEAR         3
205 #define HTML_APPLET_CODE          4
206 #define HTML_APPLET_CODEBASE      5
207 #define HTML_APPLET_DIR           6
208 #define HTML_APPLET_DOWNLOAD      7
209 #define HTML_APPLET_HEIGHT        8
210 #define HTML_APPLET_HSPACE        9
211 #define HTML_APPLET_ID           10
212 #define HTML_APPLET_LANG         11
213 #define HTML_APPLET_NAME         12
214 #define HTML_APPLET_STYLE        13
215 #define HTML_APPLET_TITLE        14
216 #define HTML_APPLET_VSPACE       15
217 #define HTML_APPLET_WIDTH        16
218 #define HTML_APPLET_ATTRIBUTES   17
219 
220 #define HTML_AREA_ACCESSKEY       0
221 #define HTML_AREA_ALT             1
222 #define HTML_AREA_CLASS           2
223 #define HTML_AREA_CLEAR           3
224 #define HTML_AREA_COORDS          4
225 #define HTML_AREA_DIR             5
226 #define HTML_AREA_HREF            6
227 #define HTML_AREA_ID              7
228 #define HTML_AREA_LANG            8
229 #define HTML_AREA_NOHREF          9
230 #define HTML_AREA_NOTAB          10
231 #define HTML_AREA_ONBLUR         11
232 #define HTML_AREA_ONFOCUS        12
233 #define HTML_AREA_SHAPE          13
234 #define HTML_AREA_STYLE          14
235 #define HTML_AREA_TABINDEX       15
236 #define HTML_AREA_TARGET         16
237 #define HTML_AREA_TITLE          17
238 #define HTML_AREA_ATTRIBUTES     18
239 
240 #define HTML_BASE_CLASS           0
241 #define HTML_BASE_HREF            1
242 #define HTML_BASE_ID              2
243 #define HTML_BASE_STYLE           3
244 #define HTML_BASE_TARGET          4
245 #define HTML_BASE_TITLE           5
246 #define HTML_BASE_ATTRIBUTES      6
247 
248 #define HTML_BGSOUND_CLASS        0
249 #define HTML_BGSOUND_CLEAR        1
250 #define HTML_BGSOUND_DIR          2
251 #define HTML_BGSOUND_ID           3
252 #define HTML_BGSOUND_LANG         4
253 #define HTML_BGSOUND_LOOP         5
254 #define HTML_BGSOUND_SRC          6
255 #define HTML_BGSOUND_STYLE        7
256 #define HTML_BGSOUND_TITLE        8
257 #define HTML_BGSOUND_ATTRIBUTES   9
258 
259 #define HTML_BODY_ALINK           0
260 #define HTML_BODY_BACKGROUND      1
261 #define HTML_BODY_BGCOLOR         2
262 #define HTML_BODY_CLASS           3
263 #define HTML_BODY_CLEAR           4
264 #define HTML_BODY_DIR             5
265 #define HTML_BODY_ID              6
266 #define HTML_BODY_LANG            7
267 #define HTML_BODY_LINK            8
268 #define HTML_BODY_ONLOAD          9
269 #define HTML_BODY_ONUNLOAD       10
270 #define HTML_BODY_STYLE          11
271 #define HTML_BODY_TEXT           12
272 #define HTML_BODY_TITLE          13
273 #define HTML_BODY_VLINK          14
274 #define HTML_BODY_ATTRIBUTES     15
275 
276 #define HTML_BODYTEXT_CLASS       0
277 #define HTML_BODYTEXT_CLEAR       1
278 #define HTML_BODYTEXT_DATA        2
279 #define HTML_BODYTEXT_DIR         3
280 #define HTML_BODYTEXT_ID          4
281 #define HTML_BODYTEXT_LANG        5
282 #define HTML_BODYTEXT_NAME        6
283 #define HTML_BODYTEXT_OBJECT      7
284 #define HTML_BODYTEXT_REF         8
285 #define HTML_BODYTEXT_STYLE       9
286 #define HTML_BODYTEXT_TITLE      10
287 #define HTML_BODYTEXT_TYPE       11
288 #define HTML_BODYTEXT_VALUE      12
289 #define HTML_BODYTEXT_VALUETYPE  13
290 #define HTML_BODYTEXT_ATTRIBUTES 14
291 
292 #define HTML_BQ_CITE              0
293 #define HTML_BQ_CLASS             1
294 #define HTML_BQ_CLEAR             2
295 #define HTML_BQ_DIR               3
296 #define HTML_BQ_ID                4
297 #define HTML_BQ_LANG              5
298 #define HTML_BQ_NOWRAP            6
299 #define HTML_BQ_STYLE             7
300 #define HTML_BQ_TITLE             8
301 #define HTML_BQ_ATTRIBUTES        9
302 
303 #define HTML_BUTTON_ACCESSKEY     0
304 #define HTML_BUTTON_CLASS         1
305 #define HTML_BUTTON_CLEAR         2
306 #define HTML_BUTTON_DIR           3
307 #define HTML_BUTTON_DISABLED      4
308 #define HTML_BUTTON_ID            5
309 #define HTML_BUTTON_LANG          6
310 #define HTML_BUTTON_NAME          7
311 #define HTML_BUTTON_ONBLUR        8
312 #define HTML_BUTTON_ONFOCUS       9
313 #define HTML_BUTTON_READONLY     10
314 #define HTML_BUTTON_STYLE        11
315 #define HTML_BUTTON_TABINDEX     12
316 #define HTML_BUTTON_TITLE        13
317 #define HTML_BUTTON_TYPE         14
318 #define HTML_BUTTON_VALUE        15
319 #define HTML_BUTTON_ATTRIBUTES   16
320 
321 #define HTML_CAPTION_ACCESSKEY    0
322 #define HTML_CAPTION_ALIGN        1
323 #define HTML_CAPTION_CLASS        2
324 #define HTML_CAPTION_CLEAR        3
325 #define HTML_CAPTION_DIR          4
326 #define HTML_CAPTION_ID           5
327 #define HTML_CAPTION_LANG         6
328 #define HTML_CAPTION_STYLE        7
329 #define HTML_CAPTION_TITLE        8
330 #define HTML_CAPTION_ATTRIBUTES   9
331 
332 #define HTML_COL_ALIGN            0
333 #define HTML_COL_CHAR             1
334 #define HTML_COL_CHAROFF          2
335 #define HTML_COL_CLASS            3
336 #define HTML_COL_CLEAR            4
337 #define HTML_COL_DIR              5
338 #define HTML_COL_ID               6
339 #define HTML_COL_LANG             7
340 #define HTML_COL_SPAN             8
341 #define HTML_COL_STYLE            9
342 #define HTML_COL_TITLE           10
343 #define HTML_COL_VALIGN          11
344 #define HTML_COL_WIDTH           12
345 #define HTML_COL_ATTRIBUTES      13
346 
347 #define HTML_DEL_CITE             0
348 #define HTML_DEL_CLASS            1
349 #define HTML_DEL_DATETIME         2
350 #define HTML_DEL_DIR              3
351 #define HTML_DEL_ID               4
352 #define HTML_DEL_LANG             5
353 #define HTML_DEL_STYLE            6
354 #define HTML_DEL_TITLE            7
355 #define HTML_DEL_ATTRIBUTES       8
356 
357 #define HTML_DIV_ALIGN            0
358 #define HTML_DIV_CLASS            1
359 #define HTML_DIV_CLEAR            2
360 #define HTML_DIV_DIR              3
361 #define HTML_DIV_ID               4
362 #define HTML_DIV_LANG             5
363 #define HTML_DIV_STYLE            6
364 #define HTML_DIV_TITLE            7
365 #define HTML_DIV_ATTRIBUTES       8
366 
367 #define HTML_DL_CLASS             0
368 #define HTML_DL_CLEAR             1
369 #define HTML_DL_COMPACT           2
370 #define HTML_DL_DIR               3
371 #define HTML_DL_ID                4
372 #define HTML_DL_LANG              5
373 #define HTML_DL_STYLE             6
374 #define HTML_DL_TITLE             7
375 #define HTML_DL_ATTRIBUTES        8
376 
377 #define HTML_EMBED_ALIGN          0
378 #define HTML_EMBED_ALT            1
379 #define HTML_EMBED_BORDER         2
380 #define HTML_EMBED_CLASS          3
381 #define HTML_EMBED_CLEAR          4
382 #define HTML_EMBED_DIR            5
383 #define HTML_EMBED_HEIGHT         6
384 #define HTML_EMBED_ID             7
385 #define HTML_EMBED_IMAGEMAP       8
386 #define HTML_EMBED_ISMAP          9
387 #define HTML_EMBED_LANG          10
388 #define HTML_EMBED_MD            11
389 #define HTML_EMBED_NAME          12
390 #define HTML_EMBED_NOFLOW        13
391 #define HTML_EMBED_PARAMS        14
392 #define HTML_EMBED_SRC           15
393 #define HTML_EMBED_STYLE         16
394 #define HTML_EMBED_TITLE         17
395 #define HTML_EMBED_UNITS         18
396 #define HTML_EMBED_USEMAP        19
397 #define HTML_EMBED_WIDTH         20
398 #define HTML_EMBED_ATTRIBUTES    21
399 
400 #define HTML_FIG_ALIGN            0
401 #define HTML_FIG_BORDER           1
402 #define HTML_FIG_CLASS            2
403 #define HTML_FIG_CLEAR            3
404 #define HTML_FIG_DIR              4
405 #define HTML_FIG_HEIGHT           5
406 #define HTML_FIG_ID               6
407 #define HTML_FIG_IMAGEMAP         7
408 #define HTML_FIG_ISOBJECT         8
409 #define HTML_FIG_LANG             9
410 #define HTML_FIG_MD              10
411 #define HTML_FIG_NOFLOW          11
412 #define HTML_FIG_SRC             12
413 #define HTML_FIG_STYLE           13
414 #define HTML_FIG_TITLE           14
415 #define HTML_FIG_UNITS           15
416 #define HTML_FIG_WIDTH           16
417 #define HTML_FIG_ATTRIBUTES      17
418 
419 #define HTML_FONT_CLASS           0
420 #define HTML_FONT_CLEAR           1
421 #define HTML_FONT_COLOR           2
422 #define HTML_FONT_DIR             3
423 #define HTML_FONT_END             4
424 #define HTML_FONT_FACE            5
425 #define HTML_FONT_ID              6
426 #define HTML_FONT_LANG            7
427 #define HTML_FONT_SIZE            8
428 #define HTML_FONT_STYLE           9
429 #define HTML_FONT_TITLE          10
430 #define HTML_FONT_ATTRIBUTES     11
431 
432 #define HTML_FORM_ACCEPT          0
433 #define HTML_FORM_ACCEPT_CHARSET  1
434 #define HTML_FORM_ACTION          2
435 #define HTML_FORM_CLASS           3
436 #define HTML_FORM_CLEAR           4
437 #define HTML_FORM_DIR             5
438 #define HTML_FORM_ENCTYPE         6
439 #define HTML_FORM_ID              7
440 #define HTML_FORM_LANG            8
441 #define HTML_FORM_METHOD          9
442 #define HTML_FORM_ONRESET        10
443 #define HTML_FORM_ONSUBMIT       11
444 #define HTML_FORM_SCRIPT         12
445 #define HTML_FORM_STYLE          13
446 #define HTML_FORM_SUBJECT        14
447 #define HTML_FORM_TARGET         15
448 #define HTML_FORM_TITLE          16
449 #define HTML_FORM_ATTRIBUTES     17
450 
451 #define HTML_FRAME_CLASS          0
452 #define HTML_FRAME_FRAMEBORDER    1
453 #define HTML_FRAME_ID             2
454 #define HTML_FRAME_LONGDESC       3
455 #define HTML_FRAME_MARGINHEIGHT   4
456 #define HTML_FRAME_MARGINWIDTH    5
457 #define HTML_FRAME_NAME           6
458 #define HTML_FRAME_NORESIZE       7
459 #define HTML_FRAME_SCROLLING      8
460 #define HTML_FRAME_SRC            9
461 #define HTML_FRAME_STYLE         10
462 #define HTML_FRAME_TITLE         11
463 #define HTML_FRAME_ATTRIBUTES    12
464 
465 #define HTML_FRAMESET_COLS        0
466 #define HTML_FRAMESET_ONLOAD      1
467 #define HTML_FRAMESET_ONUNLOAD    2
468 #define HTML_FRAMESET_ROWS        3
469 #define HTML_FRAMESET_ATTRIBUTES  4
470 
471 #define HTML_GEN_CLASS            0
472 #define HTML_GEN_CLEAR            1
473 #define HTML_GEN_DIR              2
474 #define HTML_GEN_ID               3
475 #define HTML_GEN_LANG             4
476 #define HTML_GEN_STYLE            5
477 #define HTML_GEN_TITLE            6
478 #define HTML_GEN_ATTRIBUTES       7
479 
480 #define HTML_H_ALIGN              0
481 #define HTML_H_CLASS              1
482 #define HTML_H_CLEAR              2
483 #define HTML_H_DINGBAT            3
484 #define HTML_H_DIR                4
485 #define HTML_H_ID                 5
486 #define HTML_H_LANG               6
487 #define HTML_H_MD                 7
488 #define HTML_H_NOWRAP             8
489 #define HTML_H_SEQNUM             9
490 #define HTML_H_SKIP              10
491 #define HTML_H_SRC               11
492 #define HTML_H_STYLE             12
493 #define HTML_H_TITLE             13
494 #define HTML_H_ATTRIBUTES        14
495 
496 #define HTML_HR_ALIGN             0
497 #define HTML_HR_CLASS             1
498 #define HTML_HR_CLEAR             2
499 #define HTML_HR_DIR               3
500 #define HTML_HR_ID                4
501 #define HTML_HR_LANG              5
502 #define HTML_HR_MD                6
503 #define HTML_HR_NOSHADE           7
504 #define HTML_HR_SIZE              8
505 #define HTML_HR_SRC               9
506 #define HTML_HR_STYLE            10
507 #define HTML_HR_TITLE            11
508 #define HTML_HR_WIDTH            12
509 #define HTML_HR_ATTRIBUTES       13
510 
511 #define HTML_IFRAME_ALIGN         0
512 #define HTML_IFRAME_CLASS         1
513 #define HTML_IFRAME_FRAMEBORDER   2
514 #define HTML_IFRAME_HEIGHT        3
515 #define HTML_IFRAME_ID            4
516 #define HTML_IFRAME_LONGDESC      5
517 #define HTML_IFRAME_MARGINHEIGHT  6
518 #define HTML_IFRAME_MARGINWIDTH   7
519 #define HTML_IFRAME_NAME          8
520 #define HTML_IFRAME_SCROLLING     9
521 #define HTML_IFRAME_SRC          10
522 #define HTML_IFRAME_STYLE        11
523 #define HTML_IFRAME_TITLE        12
524 #define HTML_IFRAME_WIDTH        13
525 #define HTML_IFRAME_ATTRIBUTES   14
526 
527 #define HTML_IMG_ALIGN            0
528 #define HTML_IMG_ALT              1
529 #define HTML_IMG_BORDER           2
530 #define HTML_IMG_CLASS            3
531 #define HTML_IMG_CLEAR            4
532 #define HTML_IMG_DIR              5
533 #define HTML_IMG_HEIGHT           6
534 #define HTML_IMG_HSPACE           7
535 #define HTML_IMG_ID               8
536 #define HTML_IMG_ISMAP            9
537 #define HTML_IMG_ISOBJECT        10
538 #define HTML_IMG_LANG            11
539 #define HTML_IMG_LONGDESC        12
540 #define HTML_IMG_MD              13
541 #define HTML_IMG_NAME            14
542 #define HTML_IMG_SRC             15
543 #define HTML_IMG_STYLE           16
544 #define HTML_IMG_TITLE           17
545 #define HTML_IMG_UNITS           18
546 #define HTML_IMG_USEMAP          19
547 #define HTML_IMG_VSPACE          20
548 #define HTML_IMG_WIDTH           21
549 #define HTML_IMG_ATTRIBUTES      22
550 
551 #define HTML_INPUT_ACCEPT         0
552 #define HTML_INPUT_ACCEPT_CHARSET 1
553 #define HTML_INPUT_ACCESSKEY      2
554 #define HTML_INPUT_ALIGN          3
555 #define HTML_INPUT_ALT            4
556 #define HTML_INPUT_CHECKED        5
557 #define HTML_INPUT_CLASS          6
558 #define HTML_INPUT_CLEAR          7
559 #define HTML_INPUT_DIR            8
560 #define HTML_INPUT_DISABLED       9
561 #define HTML_INPUT_ERROR         10
562 #define HTML_INPUT_HEIGHT        11
563 #define HTML_INPUT_ID            12
564 #define HTML_INPUT_ISMAP         13
565 #define HTML_INPUT_LANG          14
566 #define HTML_INPUT_MAX           15
567 #define HTML_INPUT_MAXLENGTH     16
568 #define HTML_INPUT_MD            17
569 #define HTML_INPUT_MIN           18
570 #define HTML_INPUT_NAME          19
571 #define HTML_INPUT_NOTAB         20
572 #define HTML_INPUT_ONBLUR        21
573 #define HTML_INPUT_ONCHANGE      22
574 #define HTML_INPUT_ONFOCUS       23
575 #define HTML_INPUT_ONSELECT      24
576 #define HTML_INPUT_READONLY      25
577 #define HTML_INPUT_SIZE          26
578 #define HTML_INPUT_SRC           27
579 #define HTML_INPUT_STYLE         28
580 #define HTML_INPUT_TABINDEX      29
581 #define HTML_INPUT_TITLE         30
582 #define HTML_INPUT_TYPE          31
583 #define HTML_INPUT_USEMAP        32
584 #define HTML_INPUT_VALUE         33
585 #define HTML_INPUT_WIDTH         34
586 #define HTML_INPUT_ATTRIBUTES    35
587 
588 #define HTML_ISINDEX_ACTION       0
589 #define HTML_ISINDEX_CLASS        1
590 #define HTML_ISINDEX_DIR          2
591 #define HTML_ISINDEX_HREF         3
592 #define HTML_ISINDEX_ID           4
593 #define HTML_ISINDEX_LANG         5
594 #define HTML_ISINDEX_PROMPT       6
595 #define HTML_ISINDEX_STYLE        7
596 #define HTML_ISINDEX_TITLE        8
597 #define HTML_ISINDEX_ATTRIBUTES   9
598 
599 #define HTML_KEYGEN_CHALLENGE     0
600 #define HTML_KEYGEN_CLASS         1
601 #define HTML_KEYGEN_DIR           2
602 #define HTML_KEYGEN_ID            3
603 #define HTML_KEYGEN_LANG          4
604 #define HTML_KEYGEN_NAME          5
605 #define HTML_KEYGEN_STYLE         6
606 #define HTML_KEYGEN_TITLE         7
607 #define HTML_KEYGEN_ATTRIBUTES    8
608 
609 #define HTML_LABEL_ACCESSKEY      0
610 #define HTML_LABEL_CLASS          1
611 #define HTML_LABEL_CLEAR          2
612 #define HTML_LABEL_DIR            3
613 #define HTML_LABEL_FOR            4
614 #define HTML_LABEL_ID             5
615 #define HTML_LABEL_LANG           6
616 #define HTML_LABEL_ONBLUR         7
617 #define HTML_LABEL_ONFOCUS        8
618 #define HTML_LABEL_STYLE          9
619 #define HTML_LABEL_TITLE         10
620 #define HTML_LABEL_ATTRIBUTES    11
621 
622 #define HTML_LI_CLASS             0
623 #define HTML_LI_CLEAR             1
624 #define HTML_LI_DINGBAT           2
625 #define HTML_LI_DIR               3
626 #define HTML_LI_ID                4
627 #define HTML_LI_LANG              5
628 #define HTML_LI_MD                6
629 #define HTML_LI_SKIP              7
630 #define HTML_LI_SRC               8
631 #define HTML_LI_STYLE             9
632 #define HTML_LI_TITLE            10
633 #define HTML_LI_TYPE             11
634 #define HTML_LI_VALUE            12
635 #define HTML_LI_ATTRIBUTES       13
636 
637 #define HTML_LINK_CHARSET         0
638 #define HTML_LINK_CLASS           1
639 #define HTML_LINK_DIR             2
640 #define HTML_LINK_HREF            3
641 #define HTML_LINK_HREFLANG        4
642 #define HTML_LINK_ID              5
643 #define HTML_LINK_LANG            6
644 #define HTML_LINK_MEDIA           7
645 #define HTML_LINK_REL             8
646 #define HTML_LINK_REV             9
647 #define HTML_LINK_STYLE          10
648 #define HTML_LINK_TARGET         11
649 #define HTML_LINK_TITLE          12
650 #define HTML_LINK_TYPE           13
651 #define HTML_LINK_ATTRIBUTES     14
652 
653 #define HTML_MAP_CLASS            0
654 #define HTML_MAP_CLEAR            1
655 #define HTML_MAP_DIR              2
656 #define HTML_MAP_ID               3
657 #define HTML_MAP_LANG             4
658 #define HTML_MAP_NAME             5
659 #define HTML_MAP_STYLE            6
660 #define HTML_MAP_TITLE            7
661 #define HTML_MAP_ATTRIBUTES       8
662 
663 #define HTML_MATH_BOX             0
664 #define HTML_MATH_CLASS           1
665 #define HTML_MATH_CLEAR           2
666 #define HTML_MATH_DIR             3
667 #define HTML_MATH_ID              4
668 #define HTML_MATH_LANG            5
669 #define HTML_MATH_STYLE           6
670 #define HTML_MATH_TITLE           7
671 #define HTML_MATH_ATTRIBUTES      8
672 
673 #define HTML_META_CHARSET         0
674 #define HTML_META_CONTENT         1
675 #define HTML_META_HTTP_EQUIV      2
676 #define HTML_META_NAME            3
677 #define HTML_META_SCHEME          4
678 #define HTML_META_ATTRIBUTES      5
679 
680 #define HTML_NEXTID_N             0
681 #define HTML_NEXTID_ATTRIBUTES    1
682 
683 #define HTML_NOTE_CLASS           0
684 #define HTML_NOTE_CLEAR           1
685 #define HTML_NOTE_DIR             2
686 #define HTML_NOTE_ID              3
687 #define HTML_NOTE_LANG            4
688 #define HTML_NOTE_MD              5
689 #define HTML_NOTE_ROLE            6
690 #define HTML_NOTE_SRC             7
691 #define HTML_NOTE_STYLE           8
692 #define HTML_NOTE_TITLE           9
693 #define HTML_NOTE_ATTRIBUTES     10
694 
695 #define HTML_OBJECT_ALIGN         0
696 #define HTML_OBJECT_ARCHIVE       1
697 #define HTML_OBJECT_BORDER        2
698 #define HTML_OBJECT_CLASS         3
699 #define HTML_OBJECT_CLASSID       4
700 #define HTML_OBJECT_CODEBASE      5
701 #define HTML_OBJECT_CODETYPE      6
702 #define HTML_OBJECT_DATA          7
703 #define HTML_OBJECT_DECLARE       8
704 #define HTML_OBJECT_DIR           9
705 #define HTML_OBJECT_HEIGHT       10
706 #define HTML_OBJECT_HSPACE       11
707 #define HTML_OBJECT_ID           12
708 #define HTML_OBJECT_ISMAP        13
709 #define HTML_OBJECT_LANG         14
710 #define HTML_OBJECT_NAME         15
711 #define HTML_OBJECT_NOTAB        16
712 #define HTML_OBJECT_SHAPES       17
713 #define HTML_OBJECT_STANDBY      18
714 #define HTML_OBJECT_STYLE        19
715 #define HTML_OBJECT_TABINDEX     20
716 #define HTML_OBJECT_TITLE        21
717 #define HTML_OBJECT_TYPE         22
718 #define HTML_OBJECT_USEMAP       23
719 #define HTML_OBJECT_VSPACE       24
720 #define HTML_OBJECT_WIDTH        25
721 #define HTML_OBJECT_ATTRIBUTES   26
722 
723 #define HTML_OL_CLASS             0
724 #define HTML_OL_CLEAR             1
725 #define HTML_OL_COMPACT           2
726 #define HTML_OL_CONTINUE          3
727 #define HTML_OL_DIR               4
728 #define HTML_OL_ID                5
729 #define HTML_OL_LANG              6
730 #define HTML_OL_SEQNUM            7
731 #define HTML_OL_START             8
732 #define HTML_OL_STYLE             9
733 #define HTML_OL_TITLE            10
734 #define HTML_OL_TYPE             11
735 #define HTML_OL_ATTRIBUTES       12
736 
737 #define HTML_OPTION_CLASS         0
738 #define HTML_OPTION_CLEAR         1
739 #define HTML_OPTION_DIR           2
740 #define HTML_OPTION_DISABLED      3
741 #define HTML_OPTION_ERROR         4
742 #define HTML_OPTION_ID            5
743 #define HTML_OPTION_LABEL         6
744 #define HTML_OPTION_LANG          7
745 #define HTML_OPTION_SELECTED      8
746 #define HTML_OPTION_SHAPE         9
747 #define HTML_OPTION_STYLE        10
748 #define HTML_OPTION_TITLE        11
749 #define HTML_OPTION_VALUE        12
750 #define HTML_OPTION_ATTRIBUTES   13
751 
752 #define HTML_OVERLAY_CLASS        0
753 #define HTML_OVERLAY_HEIGHT       1
754 #define HTML_OVERLAY_ID           2
755 #define HTML_OVERLAY_IMAGEMAP     3
756 #define HTML_OVERLAY_MD           4
757 #define HTML_OVERLAY_SRC          5
758 #define HTML_OVERLAY_STYLE        6
759 #define HTML_OVERLAY_TITLE        7
760 #define HTML_OVERLAY_UNITS        8
761 #define HTML_OVERLAY_WIDTH        9
762 #define HTML_OVERLAY_X           10
763 #define HTML_OVERLAY_Y           11
764 #define HTML_OVERLAY_ATTRIBUTES  12
765 
766 #define HTML_P_ALIGN              0
767 #define HTML_P_CLASS              1
768 #define HTML_P_CLEAR              2
769 #define HTML_P_DIR                3
770 #define HTML_P_ID                 4
771 #define HTML_P_LANG               5
772 #define HTML_P_NOWRAP             6
773 #define HTML_P_STYLE              7
774 #define HTML_P_TITLE              8
775 #define HTML_P_ATTRIBUTES         9
776 
777 #define HTML_PARAM_ACCEPT         0
778 #define HTML_PARAM_ACCEPT_CHARSET 1
779 #define HTML_PARAM_ACCEPT_ENCODING 2
780 #define HTML_PARAM_CLASS          3
781 #define HTML_PARAM_CLEAR          4
782 #define HTML_PARAM_DATA           5
783 #define HTML_PARAM_DIR            6
784 #define HTML_PARAM_ID             7
785 #define HTML_PARAM_LANG           8
786 #define HTML_PARAM_NAME           9
787 #define HTML_PARAM_OBJECT        10
788 #define HTML_PARAM_REF           11
789 #define HTML_PARAM_STYLE         12
790 #define HTML_PARAM_TITLE         13
791 #define HTML_PARAM_TYPE          14
792 #define HTML_PARAM_VALUE         15
793 #define HTML_PARAM_VALUEREF      16
794 #define HTML_PARAM_VALUETYPE     17
795 #define HTML_PARAM_ATTRIBUTES    18
796 
797 #define HTML_Q_CITE               0
798 #define HTML_Q_CLASS              1
799 #define HTML_Q_CLEAR              2
800 #define HTML_Q_DIR                3
801 #define HTML_Q_ID                 4
802 #define HTML_Q_LANG               5
803 #define HTML_Q_STYLE              6
804 #define HTML_Q_TITLE              7
805 #define HTML_Q_ATTRIBUTES         8
806 
807 #define HTML_SCRIPT_CHARSET       0
808 #define HTML_SCRIPT_CLASS         1
809 #define HTML_SCRIPT_CLEAR         2
810 #define HTML_SCRIPT_DEFER         3
811 #define HTML_SCRIPT_DIR           4
812 #define HTML_SCRIPT_EVENT         5
813 #define HTML_SCRIPT_FOR           6
814 #define HTML_SCRIPT_ID            7
815 #define HTML_SCRIPT_LANG          8
816 #define HTML_SCRIPT_LANGUAGE      9
817 #define HTML_SCRIPT_NAME         10
818 #define HTML_SCRIPT_SCRIPTENGINE 11
819 #define HTML_SCRIPT_SRC          12
820 #define HTML_SCRIPT_STYLE        13
821 #define HTML_SCRIPT_TITLE        14
822 #define HTML_SCRIPT_TYPE         15
823 #define HTML_SCRIPT_ATTRIBUTES   16
824 
825 #define HTML_SELECT_ALIGN         0
826 #define HTML_SELECT_CLASS         1
827 #define HTML_SELECT_CLEAR         2
828 #define HTML_SELECT_DIR           3
829 #define HTML_SELECT_DISABLED      4
830 #define HTML_SELECT_ERROR         5
831 #define HTML_SELECT_HEIGHT        6
832 #define HTML_SELECT_ID            7
833 #define HTML_SELECT_LANG          8
834 #define HTML_SELECT_MD            9
835 #define HTML_SELECT_MULTIPLE     10
836 #define HTML_SELECT_NAME         11
837 #define HTML_SELECT_NOTAB        12
838 #define HTML_SELECT_ONBLUR       13
839 #define HTML_SELECT_ONCHANGE     14
840 #define HTML_SELECT_ONFOCUS      15
841 #define HTML_SELECT_SIZE         16
842 #define HTML_SELECT_STYLE        17
843 #define HTML_SELECT_TABINDEX     18
844 #define HTML_SELECT_TITLE        19
845 #define HTML_SELECT_UNITS        20
846 #define HTML_SELECT_WIDTH        21
847 #define HTML_SELECT_ATTRIBUTES   22
848 
849 #define HTML_STYLE_CLASS          0
850 #define HTML_STYLE_DIR            1
851 #define HTML_STYLE_ID             2
852 #define HTML_STYLE_LANG           3
853 #define HTML_STYLE_MEDIA          4
854 #define HTML_STYLE_NOTATION       5
855 #define HTML_STYLE_STYLE          6
856 #define HTML_STYLE_TITLE          7
857 #define HTML_STYLE_TYPE           8
858 #define HTML_STYLE_ATTRIBUTES     9
859 
860 #define HTML_TAB_ALIGN            0
861 #define HTML_TAB_CLASS            1
862 #define HTML_TAB_CLEAR            2
863 #define HTML_TAB_DIR              3
864 #define HTML_TAB_DP               4
865 #define HTML_TAB_ID               5
866 #define HTML_TAB_INDENT           6
867 #define HTML_TAB_LANG             7
868 #define HTML_TAB_STYLE            8
869 #define HTML_TAB_TITLE            9
870 #define HTML_TAB_TO              10
871 #define HTML_TAB_ATTRIBUTES      11
872 
873 #define HTML_TABLE_ALIGN          0
874 #define HTML_TABLE_BACKGROUND     1
875 #define HTML_TABLE_BORDER         2
876 #define HTML_TABLE_CELLPADDING    3
877 #define HTML_TABLE_CELLSPACING    4
878 #define HTML_TABLE_CLASS          5
879 #define HTML_TABLE_CLEAR          6
880 #define HTML_TABLE_COLS           7
881 #define HTML_TABLE_COLSPEC        8
882 #define HTML_TABLE_DIR            9
883 #define HTML_TABLE_DP            10
884 #define HTML_TABLE_FRAME         11
885 #define HTML_TABLE_ID            12
886 #define HTML_TABLE_LANG          13
887 #define HTML_TABLE_NOFLOW        14
888 #define HTML_TABLE_NOWRAP        15
889 #define HTML_TABLE_RULES         16
890 #define HTML_TABLE_STYLE         17
891 #define HTML_TABLE_SUMMARY       18
892 #define HTML_TABLE_TITLE         19
893 #define HTML_TABLE_UNITS         20
894 #define HTML_TABLE_WIDTH         21
895 #define HTML_TABLE_ATTRIBUTES    22
896 
897 #define HTML_TD_ABBR              0
898 #define HTML_TD_ALIGN             1
899 #define HTML_TD_AXES              2
900 #define HTML_TD_AXIS              3
901 #define HTML_TD_BACKGROUND        4
902 #define HTML_TD_CHAR              5
903 #define HTML_TD_CHAROFF           6
904 #define HTML_TD_CLASS             7
905 #define HTML_TD_CLEAR             8
906 #define HTML_TD_COLSPAN           9
907 #define HTML_TD_DIR              10
908 #define HTML_TD_DP               11
909 #define HTML_TD_HEADERS          12
910 #define HTML_TD_HEIGHT           13
911 #define HTML_TD_ID               14
912 #define HTML_TD_LANG             15
913 #define HTML_TD_NOWRAP           16
914 #define HTML_TD_ROWSPAN          17
915 #define HTML_TD_SCOPE            18
916 #define HTML_TD_STYLE            19
917 #define HTML_TD_TITLE            20
918 #define HTML_TD_VALIGN           21
919 #define HTML_TD_WIDTH            22
920 #define HTML_TD_ATTRIBUTES       23
921 
922 #define HTML_TEXTAREA_ACCEPT_CHARSET 0
923 #define HTML_TEXTAREA_ACCESSKEY   1
924 #define HTML_TEXTAREA_ALIGN       2
925 #define HTML_TEXTAREA_CLASS       3
926 #define HTML_TEXTAREA_CLEAR       4
927 #define HTML_TEXTAREA_COLS        5
928 #define HTML_TEXTAREA_DIR         6
929 #define HTML_TEXTAREA_DISABLED    7
930 #define HTML_TEXTAREA_ERROR       8
931 #define HTML_TEXTAREA_ID          9
932 #define HTML_TEXTAREA_LANG       10
933 #define HTML_TEXTAREA_NAME       11
934 #define HTML_TEXTAREA_NOTAB      12
935 #define HTML_TEXTAREA_ONBLUR     13
936 #define HTML_TEXTAREA_ONCHANGE   14
937 #define HTML_TEXTAREA_ONFOCUS    15
938 #define HTML_TEXTAREA_ONSELECT   16
939 #define HTML_TEXTAREA_READONLY   17
940 #define HTML_TEXTAREA_ROWS       18
941 #define HTML_TEXTAREA_STYLE      19
942 #define HTML_TEXTAREA_TABINDEX   20
943 #define HTML_TEXTAREA_TITLE      21
944 #define HTML_TEXTAREA_ATTRIBUTES 22
945 
946 #define HTML_TR_ALIGN             0
947 #define HTML_TR_CHAR              1
948 #define HTML_TR_CHAROFF           2
949 #define HTML_TR_CLASS             3
950 #define HTML_TR_CLEAR             4
951 #define HTML_TR_DIR               5
952 #define HTML_TR_DP                6
953 #define HTML_TR_ID                7
954 #define HTML_TR_LANG              8
955 #define HTML_TR_NOWRAP            9
956 #define HTML_TR_STYLE            10
957 #define HTML_TR_TITLE            11
958 #define HTML_TR_VALIGN           12
959 #define HTML_TR_ATTRIBUTES       13
960 
961 #define HTML_UL_CLASS             0
962 #define HTML_UL_CLEAR             1
963 #define HTML_UL_COMPACT           2
964 #define HTML_UL_DINGBAT           3
965 #define HTML_UL_DIR               4
966 #define HTML_UL_ID                5
967 #define HTML_UL_LANG              6
968 #define HTML_UL_MD                7
969 #define HTML_UL_PLAIN             8
970 #define HTML_UL_SRC               9
971 #define HTML_UL_STYLE            10
972 #define HTML_UL_TITLE            11
973 #define HTML_UL_TYPE             12
974 #define HTML_UL_WRAP             13
975 #define HTML_UL_ATTRIBUTES       14
976 
977 #ifdef __cplusplus
978 }
979 #endif
980 #endif				/* hdr_HTMLDTD_H */
981