htmlwriter

From Free Pascal wiki
Revision as of 08:32, 17 April 2013 by Jwdietrich (talk | contribs)
(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.