i1 : HTML { HEAD { TITLE "foo" }, BODY { "Hi there" } } o1 = Hi there o1 : HTML |
i2 : html oo o2 = <?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>foo</title> </head> <body>Hi there</body> </html> |
The object HTML is a mark-up type, with ancestor classes Hypertext < BasicList < Thing.