bberry/examples/boilerplate.lisp

16 lines
499 B
Common Lisp
Raw Normal View History

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