Eli gave a couple of example of generating html in the as-yet undocumented, but neat-looking #lang scribble/html on stackoverflow: http://stackoverflow.com/questions/9253126/generate-html-in-racket
These examples are attribute free. E.g.
#lang scribble/html@(define name "foo")@html{@head{@title{@name}}
@body{@h1{@name}}}
How do I encode an attribute?
E.g. ? -> <a href='foo.html'>bar</a>
Thanks
Dan
____________________ Racket Users list: http://lists.racket-lang.org/users

