]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/htmltags.tex
Removed more traces of wxrcedit
[wxWidgets.git] / docs / latex / wx / htmltags.tex
1 \subsection{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 \wxheading{Table of common parameter values}
13
14 We will use these substitutions in tags descriptions:
15
16 \begin{verbatim}
17 [alignment] CENTER
18 LEFT
19 RIGHT
20 JUSTIFY
21
22 [v_alignment] TOP
23 BOTTOM
24 CENTER
25
26 [color] HTML 4.0-compliant colour specification
27
28 [fontsize] -2
29 -1
30 +0
31 +1
32 +2
33 +3
34 +4
35 1
36 2
37 3
38 4
39 5
40 6
41 7
42
43 [pixels] integer value that represents dimension in pixels
44
45 [percent] i%
46 where i is integer
47
48 [url] an URL
49
50 [string] text string
51
52 [coords] c(1),c(2),c(3),...,c(n)
53 where c(i) is integer
54
55 \end{verbatim}
56
57
58 \wxheading{List of supported tags}
59
60 \begin{verbatim}
61
62 A NAME=[string]
63 HREF=[url]
64 TARGET=[target window spec]
65 ADDRESS
66 AREA SHAPE=POLY
67 SHAPE=CIRCLE
68 SHAPE=RECT
69 COORDS=[coords]
70 HREF=[url]
71 B
72 BIG
73 BLOCKQUOTE
74 BODY TEXT=[color]
75 LINK=[color]
76 BGCOLOR=[color]
77 BR ALIGN=[alignment]
78 CENTER
79 CITE
80 CODE
81 DD
82 DIV ALIGN=[alignment]
83 DL
84 DT
85 EM
86 FONT COLOR=[color]
87 SIZE=[fontsize]
88 FACE=[comma-separated list of facenames]
89 HR ALIGN=[alignment]
90 SIZE=[pixels]
91 WIDTH=[percent|pixels]
92 NOSHADE
93 H1
94 H2
95 H3
96 H4
97 H5
98 H6
99 I
100 IMG SRC=[url]
101 WIDTH=[pixels]
102 HEIGHT=[pixels]
103 ALIGN=TEXTTOP
104 ALIGN=CENTER
105 ALIGN=ABSCENTER
106 ALIGN=BOTTOM
107 USEMAP=[url]
108 KBD
109 LI
110 MAP NAME=[string]
111 META HTTP-EQUIV="Content-Type"
112 CONTENT=[string]
113 OL
114 P ALIGN=[alignment]
115 PRE
116 SAMP
117 SMALL
118 STRIKE
119 STRONG
120 TABLE ALIGN=[alignment]
121 WIDTH=[percent|pixels]
122 BORDER=[pixels]
123 VALIGN=[v_alignment]
124 BGCOLOR=[color]
125 CELLSPACING=[pixels]
126 CELLPADDING=[pixels]
127 TD ALIGN=[alignment]
128 VALIGN=[v_alignment]
129 BGCOLOR=[color]
130 WIDTH=[percent|pixels]
131 COLSPAN=[pixels]
132 ROWSPAN=[pixels]
133 NOWRAP
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