(define (start-tag kind attributes) (if (null? attributes) (string-append "<" kind ">") (let ((html-attributes (linearize-attributes attributes))) (string-append "<" kind " " html-attributes " >")))) (define (end-tag kind) (string-append ""))