]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/htmltags.tex
merged 2.2 branch
[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] #nnnnnn
28 where n is hexadecimal digit
29
30 [fontsize] -2
31 -1
32 +0
33 +1
34 +2
35 +3
36 +4
37 1
38 2
39 3
40 4
41 5
42 6
43 7
44
45 [pixels] integer value that represents dimension in pixels
46
47 [percent] i%
48 where i is integer
49
50 [url] an URL
51
52 [string] text string
53
54 [coords] c(1),c(2),c(3),...,c(n)
55 where c(i) is integer
56
57 \end{verbatim}
58
59
60 \wxheading{List of supported tags}
61
62 \begin{verbatim}
63 P ALIGN=[alignment]
64
65 BR ALIGN=[alignment]
66
67 DIV ALIGN=[alignment]
68
69 CENTER
70
71 BLOCKQUOTE
72
73 TITLE
74
75 BODY TEXT=[color]
76 LINK=[color]
77 BGCOLOR=[color]
78
79 HR ALIGN=[alignment]
80 SIZE=[pixels]
81 WIDTH=[percent]
82 WIDTH=[pixels]
83
84 FONT COLOR=[color]
85 SIZE=[fontsize]
86 FACE=[comma-separated list of facenames]
87
88 U
89
90 B
91
92 I
93
94 EM
95
96 STRONG
97
98 CITE
99
100 ADDRESS
101
102 CODE
103
104 KBD
105
106 SAMP
107
108 TT
109
110 H1
111
112 H2
113
114 H3
115
116 H4
117
118 H5
119
120 H6
121
122 A NAME=[string]
123 HREF=[url]
124
125 PRE
126
127 LI
128
129 UL
130
131 OL
132
133 DL
134
135 DT
136
137 DD
138
139 TABLE ALIGN=[alignment]
140 WIDTH=[percent]
141 WIDTH=[pixels]
142 BORDER=[pixels]
143 VALIGN=[v_alignment]
144 BGCOLOR=[color]
145 CELLSPACING=[pixels]
146 CELLPADDING=[pixels]
147
148 TR ALIGN=[alignment]
149 VALIGN=[v_alignment]
150 BGCOLOR=[color]
151
152 TH ALIGN=[alignment]
153 VALIGN=[v_alignment]
154 BGCOLOR=[color]
155 WIDTH=[percent]
156 WIDTH=[pixels]
157 COLSPAN=[pixels]
158 ROWSPAN=[pixels]
159
160 TD ALIGN=[alignment]
161 VALIGN=[v_alignment]
162 BGCOLOR=[color]
163 WIDTH=[percent]
164 WIDTH=[pixels]
165 COLSPAN=[pixels]
166 ROWSPAN=[pixels]
167
168 IMG SRC=[url]
169 WIDTH=[pixels]
170 HEIGHT=[pixels]
171 ALIGN=TEXTTOP
172 ALIGN=CENTER
173 ALIGN=ABSCENTER
174 ALIGN=BOTTOM
175 USEMAP=[url]
176
177 MAP NAME=[string]
178
179 AREA SHAPE=POLY
180 SHAPE=CIRCLE
181 SHAPE=RECT
182 COORDS=[coords]
183 HREF=[url]
184
185 META HTTP-EQUIV="Content-Type"
186 CONTENT=[string]
187
188 \end{verbatim}
189
190