]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/htmltags.tex
c5ea8a3814fb8ab384ef9d84f76127ae98daf41a
[wxWidgets.git] / docs / latex / wx / htmltags.tex
1 \section{Tags supported by wxHTML}\label{htmltagssupported}
2
3 wxHTML is not full implementation of HTML standard. Instead, it supports most common tags so that it
4 is possible to display {\it simple} HTML documents with it. (For example it works fine with pages created
5 in Netscape Composer or generated by tex2rtf).
6
7 Following tables list all tags known to wxHTML, together with supported parameters.
8 A tag has general form of {\tt <tagname param\_1 param\_2 ... param\_n>} where param\_i is
9 either {\tt paramname="paramvalue"} or {\tt paramname=paramvalue} - these two are equivalent. Unless stated
10 otherwise, wxHTML is case-insensitive.
11
12
13 \wxheading{Table of common parameter values}
14
15 We will use these substitutions in tags descriptions:
16
17 \begin{verbatim}
18 [alignment] CENTER
19 LEFT
20 RIGHT
21 JUSTIFY
22
23 [v_alignment] TOP
24 BOTTOM
25 CENTER
26
27 [color] HTML 4.0-compliant colour specification
28
29 [fontsize] -2
30 -1
31 +0
32 +1
33 +2
34 +3
35 +4
36 1
37 2
38 3
39 4
40 5
41 6
42 7
43
44 [pixels] integer value that represents dimension in pixels
45
46 [percent] i%
47 where i is integer
48
49 [url] an URL
50
51 [string] text string
52
53 [coords] c(1),c(2),c(3),...,c(n)
54 where c(i) is integer
55
56 \end{verbatim}
57
58
59 \wxheading{List of supported tags}
60
61 \begin{verbatim}
62
63 A NAME=[string]
64 HREF=[url]
65 TARGET=[target window spec]
66 ADDRESS
67 AREA SHAPE=POLY
68 SHAPE=CIRCLE
69 SHAPE=RECT
70 COORDS=[coords]
71 HREF=[url]
72 B
73 BIG
74 BLOCKQUOTE
75 BODY TEXT=[color]
76 LINK=[color]
77 BGCOLOR=[color]
78 BR ALIGN=[alignment]
79 CENTER
80 CITE
81 CODE
82 DD
83 DIV ALIGN=[alignment]
84 DL
85 DT
86 EM
87 FONT COLOR=[color]
88 SIZE=[fontsize]
89 FACE=[comma-separated list of facenames]
90 HR ALIGN=[alignment]
91 SIZE=[pixels]
92 WIDTH=[percent|pixels]
93 NOSHADE
94 H1
95 H2
96 H3
97 H4
98 H5
99 H6
100 I
101 IMG SRC=[url]
102 WIDTH=[pixels]
103 HEIGHT=[pixels]
104 ALIGN=TEXTTOP
105 ALIGN=CENTER
106 ALIGN=ABSCENTER
107 ALIGN=BOTTOM
108 USEMAP=[url]
109 KBD
110 LI
111 MAP NAME=[string]
112 META HTTP-EQUIV="Content-Type"
113 CONTENT=[string]
114 OL
115 P ALIGN=[alignment]
116 PRE
117 SAMP
118 SMALL
119 STRIKE
120 STRONG
121 TABLE ALIGN=[alignment]
122 WIDTH=[percent|pixels]
123 BORDER=[pixels]
124 VALIGN=[v_alignment]
125 BGCOLOR=[color]
126 CELLSPACING=[pixels]
127 CELLPADDING=[pixels]
128 TD ALIGN=[alignment]
129 VALIGN=[v_alignment]
130 BGCOLOR=[color]
131 WIDTH=[percent|pixels]
132 COLSPAN=[pixels]
133 ROWSPAN=[pixels]
134 TH ALIGN=[alignment]
135 VALIGN=[v_alignment]
136 BGCOLOR=[color]
137 WIDTH=[percent|pixels]
138 COLSPAN=[pixels]
139 ROWSPAN=[pixels]
140 TITLE
141 TR ALIGN=[alignment]
142 VALIGN=[v_alignment]
143 BGCOLOR=[color]
144 TT
145 U
146 UL
147
148 \end{verbatim}
149
150