bberry/examples/boilerplate.lisp
2025-05-31 10:01:25 -04:00

15 lines
499 B
Common Lisp

(text "<!DOCTYPE html>") ; using a raw string for the doctype is fine
(html
(head
; everything that belongs in the head element
(title (text "Document"))
(meta ("charset" "UTF-8"))
(meta ("name" "viewport") ("content" "width=device-width, initial-scale=1.0"))
(meta ("http-equiv" "X-UA-Compatible") ("content" "ie=edge"))
(link ("rel" "stylesheet") ("href" "#")))
(body
; the actual body only starts here
(span ("style" "color: red") (text "Hello, world!"))))