PyQT, Sharp Zaurus and color in the QTextBrowser

Fredrik Lundh fredrik at pythonware.com
Mon Jul 14 17:09:31 EDT 2003


Tim Gerla wrote:
> Anyway, to actually be on topic, "proper" HTML (XHTML 1.0, and
> maybe HTML 4.0? I don't recall...) requires double-quotes to be
> used. Single quotes are illegal.

XHTML 1.0 is XML, which allows both single quotes and double
quotes:

    http://www.w3.org/TR/REC-xml#NT-AttValue

HTML 4 is derived from SGML, which also supports both single
and double quotes, and also allows unquoted values, in some
cases:

    http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2

</F>








More information about the Python-list mailing list