htmlwriter

From Lazarus wiki
Revision as of 16:17, 28 March 2009 by Marcov (talk | contribs) (New page: Implements a verified HTML producer. THTMLwriter: This is a class which allows to write certified correct HTML. It works using the DOM for HTML. It also has forms support. Writing ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Implements a verified HTML producer.

THTMLwriter:

 This is a class which allows to write certified correct HTML.
 It works using the DOM for HTML.
 It also has forms support.

Writing HTML is done as follows:

 StartBold;
 Write('This text is bold');
 EndBold;

or

 Bold('This text is bold');

But the following is also possible

 Bold(Center('Bold centered text'));

Open tags will be closed automatically.

wtagsintf.inc contains all possible tags.

Back to fcl-xml overview.