|
From: Kevin A. <al...@se...> - 2002-01-03 06:20:07
|
Here's an updated list of tags in alphabetical order. Vaclav Slavik updated
the docs after my original post.
ka
---
Tags supported by wxHTML
wxHTML is not full implementation of HTML standard. Instead, it supports
most common tags so that it is possible to display simple HTML documents
with it. (For example it works fine with pages created in Netscape Composer
or generated by tex2rtf).
Following tables list all tags known to wxHTML, together with supported
parameters. A tag has general form of <tagname param_1 param_2 ... param_n>
where param_i is either paramname="paramvalue" or paramname=paramvalue -
these two are equivalent. Unless stated otherwise, wxHTML is
case-insensitive.
Table of common parameter values
We will use these substitutions in tags descriptions:
[alignment] CENTER
LEFT
RIGHT
JUSTIFY
[v_alignment] TOP
BOTTOM
CENTER
[color] HTML 4.0-compliant colour specification
[fontsize] -2
-1
+0
+1
+2
+3
+4
1
2
3
4
5
6
7
[pixels] integer value that represents dimension in pixels
[percent] i%
where i is integer
[url] an URL
[string] text string
[coords] c(1),c(2),c(3),...,c(n)
where c(i) is integer
List of supported tags
A NAME=[string]
HREF=[url]
TARGET=[target window spec]
ADDRESS
AREA SHAPE=POLY
SHAPE=CIRCLE
SHAPE=RECT
COORDS=[coords]
HREF=[url]
B
BIG
BLOCKQUOTE
BODY TEXT=[color]
LINK=[color]
BGCOLOR=[color]
BR ALIGN=[alignment]
CENTER
CITE
CODE
DD
DIV ALIGN=[alignment]
DL
DT
EM
FONT COLOR=[color]
SIZE=[fontsize]
FACE=[comma-separated list of facenames]
HR ALIGN=[alignment]
SIZE=[pixels]
WIDTH=[percent|pixels]
NOSHADE
H1
H2
H3
H4
H5
H6
I
IMG SRC=[url]
WIDTH=[pixels]
HEIGHT=[pixels]
ALIGN=TEXTTOP
ALIGN=CENTER
ALIGN=ABSCENTER
ALIGN=BOTTOM
USEMAP=[url]
KBD
LI
MAP NAME=[string]
META HTTP-EQUIV="Content-Type"
CONTENT=[string]
OL
P ALIGN=[alignment]
PRE
SAMP
SMALL
STRIKE
STRONG
TABLE ALIGN=[alignment]
WIDTH=[percent|pixels]
BORDER=[pixels]
VALIGN=[v_alignment]
BGCOLOR=[color]
CELLSPACING=[pixels]
CELLPADDING=[pixels]
TD ALIGN=[alignment]
VALIGN=[v_alignment]
BGCOLOR=[color]
WIDTH=[percent|pixels]
COLSPAN=[pixels]
ROWSPAN=[pixels]
TH ALIGN=[alignment]
VALIGN=[v_alignment]
BGCOLOR=[color]
WIDTH=[percent|pixels]
COLSPAN=[pixels]
ROWSPAN=[pixels]
TITLE
TR ALIGN=[alignment]
VALIGN=[v_alignment]
BGCOLOR=[color]
TT
U
UL
> -----Original Message-----
> From: pyt...@li...
> [mailto:pyt...@li...]On Behalf Of Kevin
> Altis
> Sent: Tuesday, January 01, 2002 6:47 PM
> To: pythoncard-Users
> Subject: [Pythoncard-users] HtmlWindows supported HTML tags
>
>
> I copied this list from the latest docs. I don't know when the docs were
> last updated, so the current wxWindows sources might actually support more
> than the tags below, but it is unlikely that wxHtmlWindow supports less. I
> would say the tags below are safe to use.
>
> ka
> ---
> Tags supported by wxHTML
> wxHTML is not full implementation of HTML standard. Instead, it supports
> most common tags so that it is possible to display simple HTML documents
> with it. (For example it works fine with pages created in
> Netscape Composer
> or generated by tex2rtf).
>
> Following tables list all tags known to wxHTML, together with supported
> parameters. A tag has general form of <tagname param_1 param_2
> ... param_n>
> where param_i is either paramname="paramvalue" or paramname=paramvalue -
> these two are equivalent. Unless stated otherwise, wxHTML is
> case-insensitive.
>
> Table of common parameter values
>
> We will use these substitutions in tags descriptions:
>
>
> [alignment] CENTER
> LEFT
> RIGHT
> JUSTIFY
>
> [v_alignment] TOP
> BOTTOM
> CENTER
>
> [color] #nnnnnn
> where n is hexadecimal digit
>
> [fontsize] -2
> -1
> +0
> +1
> +2
> +3
> +4
> 1
> 2
> 3
> 4
> 5
> 6
> 7
>
> [pixels] integer value that represents dimension in pixels
>
> [percent] i%
> where i is integer
>
> [url] an URL
>
> [string] text string
>
> [coords] c(1),c(2),c(3),...,c(n)
> where c(i) is integer
>
>
> List of supported tags
>
> P ALIGN=[alignment]
>
> BR ALIGN=[alignment]
>
> DIV ALIGN=[alignment]
>
> CENTER
>
> BLOCKQUOTE
>
> TITLE
>
> BODY TEXT=[color]
> LINK=[color]
> BGCOLOR=[color]
>
> HR ALIGN=[alignment]
> SIZE=[pixels]
> WIDTH=[percent]
> WIDTH=[pixels]
>
> FONT COLOR=[color]
> SIZE=[fontsize]
> FACE=[comma-separated list of facenames]
>
> U
>
> B
>
> I
>
> EM
>
> STRONG
>
> CITE
>
> ADDRESS
>
> CODE
>
> KBD
>
> SAMP
>
> TT
>
> H1
>
> H2
>
> H3
>
> H4
>
> H5
>
> H6
>
> A NAME=[string]
> HREF=[url]
>
> PRE
>
> LI
>
> UL
>
> OL
>
> DL
>
> DT
>
> DD
>
> TABLE ALIGN=[alignment]
> WIDTH=[percent]
> WIDTH=[pixels]
> BORDER=[pixels]
> VALIGN=[v_alignment]
> BGCOLOR=[color]
> CELLSPACING=[pixels]
> CELLPADDING=[pixels]
>
> TR ALIGN=[alignment]
> VALIGN=[v_alignment]
> BGCOLOR=[color]
>
> TH ALIGN=[alignment]
> VALIGN=[v_alignment]
> BGCOLOR=[color]
> WIDTH=[percent]
> WIDTH=[pixels]
> COLSPAN=[pixels]
> ROWSPAN=[pixels]
>
> TD ALIGN=[alignment]
> VALIGN=[v_alignment]
> BGCOLOR=[color]
> WIDTH=[percent]
> WIDTH=[pixels]
> COLSPAN=[pixels]
> ROWSPAN=[pixels]
>
> IMG SRC=[url]
> WIDTH=[pixels]
> HEIGHT=[pixels]
> ALIGN=TEXTTOP
> ALIGN=CENTER
> ALIGN=ABSCENTER
> ALIGN=BOTTOM
> USEMAP=[url]
>
> MAP NAME=[string]
>
> AREA SHAPE=POLY
> SHAPE=CIRCLE
> SHAPE=RECT
> COORDS=[coords]
> HREF=[url]
>
> META HTTP-EQUIV="Content-Type"
> CONTENT=[string]
|