Sign in Join
Wiki copytemporary

htmlwriter: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11Implements a verified HTML producer.
22
33- THTMLwriter: This is a class which allows to write certified correct HTML. It works using the DOM for HTML. It also has forms support.
44
55Writing HTML is done as follows:
66
7-` StartBold;`\
8-` Write('This text is bold');`\
9-` EndBold;`
7+```text
8+ StartBold;
9+ Write('This text is bold');
10+ EndBold;
11+```
1012
11-`or`
13+```text
14+or
15+```
1216
13-` Bold('This text is bold');`\
17+```text
18+ Bold('This text is bold');
19+```
1420
1521But the following is also possible
1622
17-` Bold(Center('Bold centered text'));`
23+```text
24+ Bold(Center('Bold centered text'));
25+```
1826
1927Open tags will be closed automatically. [[wtagsintf.inc]] contains all possible tags.
2028
2129Back to [[fcl-xml]] overview.
2230
2331---
2432*From the Free Pascal wiki, page "htmlwriter", as it stood on 2013-04-17 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
2533Category: HTML

Back to history