htmlwriter: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: htmlwriter
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Implements a verified HTML producer. | |
| 2 | + | ||
| 3 | + | - THTMLwriter: This is a class which allows to write certified correct HTML. It works using the DOM for HTML. It also has forms support. | |
| 4 | + | ||
| 5 | + | Writing HTML is done as follows: | |
| 6 | + | ||
| 7 | + | ` StartBold;`\ | |
| 8 | + | ` Write('This text is bold');`\ | |
| 9 | + | ` EndBold;` | |
| 10 | + | ||
| 11 | + | `or` | |
| 12 | + | ||
| 13 | + | ` Bold('This text is bold');`\ | |
| 14 | + | ||
| 15 | + | But the following is also possible | |
| 16 | + | ||
| 17 | + | ` Bold(Center('Bold centered text'));` | |
| 18 | + | ||
| 19 | + | Open tags will be closed automatically. [[wtagsintf.inc]] contains all possible tags. | |
| 20 | + | ||
| 21 | + | Back to [[fcl-xml]] overview. | |
| 22 | + | ||
| 23 | + | --- | |
| 24 | + | *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).* | |
| 25 | + | Category: HTML |
