Lecture overview
Keyboard shortcut: 'u'  Previous slide in this lecture
Keyboard shortcut: 'p'  Next slide in this lecture
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide
Keyboard shortcut: 't'  Alphabetic index  Course home  html4-exLecture - 0Slide 2 : 3

An example of a simple HTML4.0 page 

Below we show a simple page using the HTML4.0 accurate mirror in Scheme
 

(load "html4-loading-stuff.scm")

(define _ #f)

(html-write
 (html
  (head 
    (title "Here is the title")
  )

  (body 
    (h1 "A header")

      "Here comes the" (em "document text") _ ", with an " (b "enumeration") _ "."  (p)

      (ul 'type "square"
        (li "Item 1" _ ";")
        (li "Item 2" _ ";") 
        (li "Item 3" _ ".") 
      )

    (a 'href "../html/lugm99.html" "A link to the table of contents") _ "." (br)

    "And finally some more " (kbd "text")_"."
  )
 )
)
 

Navigate to programThe loading stuff used by the LAML example above