D 2016-06-02T13:02:50.910 L (data\shtml) P 67b5d2465a01503699ec4746abf132e7bd3274e3 U murphy W 1710
(import (data html))
Encoding of S-expressions as [https://www.w3.org/TR/html5/|HTML5].
html → (SYMBOL content ...)
| (SYMBOL ((SYMBOL . value) ...) content ...)
The value of an attribute may be a boolean or a list of text contents:
value → BOOLEAN
| (text ...)
An attribute with value #f is not serialized as HTML5; an attribute with value #t is serialized without a value assignment in HTML5.
The contents of elements and attributes may consist of plain text and entity references represented as symbols or positive integers. Normal elements may also contain other elements:
content → text
| html
text → STRING
| NUMBER
| SYMBOL
(html-tag-rule tag)
(html-tag-rule tag rule)
(write-html html)
(write-html html port)