]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/htmltags.tex
fixes of documentation - replaced \tt{...}, \em{...}, \bf{...} by {\tt ...} etc.
[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
22 [v_alignment] TOP
23 BOTTOM
24 CENTER
25
26 [color] #nnnnnn
27 where n is hexadecimal digit
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 P ALIGN=[alignment]
63
64 BR ALIGN=[alignment]
65
66 DIV ALIGN=[alignment]
67
68 CENTER
69
70 BLOCKQUOTE
71
72 TITLE
73
74 BODY TEXT=[color]
75 LINK=[color]
76 BGCOLOR=[color]
77
78 HR ALIGN=[alignment]
79 SIZE=[pixels]
80 WIDTH=[percent]
81 WIDTH=[pixels]
82
83 FONT COLOR=[color]
84 SIZE=[fontsize]
85 FACE=[comma-separated list of facenames]
86
87 U
88
89 B
90
91 I
92
93 EM
94
95 STRONG
96
97 CITE
98
99 TT
100
101 H1
102
103 H2
104
105 H3
106
107 H4
108
109 H5
110
111 H6
112
113 A NAME=[string]
114 HREF=[url]
115
116 PRE
117
118 LI
119
120 UL
121
122 OL
123
124 DL
125
126 DT
127
128 DD
129
130 TABLE ALIGN=[alignment]
131 WIDTH=[percent]
132 WIDTH=[pixels]
133 BORDER=[pixels]
134 VALIGN=[v_alignment]
135 BGCOLOR=[color]
136 CELLSPACING=[pixels]
137 CELLPADDING=[pixels]
138
139 TR ALIGN=[alignment]
140 VALIGN=[v_alignment]
141 BGCOLOR=[color]
142
143 TH ALIGN=[alignment]
144 VALIGN=[v_alignment]
145 BGCOLOR=[color]
146 WIDTH=[percent]
147 WIDTH=[pixels]
148 COLSPAN=[pixels]
149 ROWSPAN=[pixels]
150
151 TD ALIGN=[alignment]
152 VALIGN=[v_alignment]
153 BGCOLOR=[color]
154 WIDTH=[percent]
155 WIDTH=[pixels]
156 COLSPAN=[pixels]
157 ROWSPAN=[pixels]
158
159 IMG SRC=[url]
160 WIDTH=[pixels]
161 HEIGHT=[pixels]
162 ALIGN=TEXTTOP
163 ALIGN=CENTER
164 ALIGN=ABSCENTER
165 ALIGN=BOTTOM
166 USEMAP=[url]
167
168 MAP NAME=[string]
169
170 AREA SHAPE=POLY
171 SHAPE=CIRCLE
172 SHAPE=RECT
173 COORDS=[coords]
174 HREF=[url]
175
176 \end{verbatim}
177
178