Play audio slide show -- Keyboard shortcut: 'x'  Lecture overview -- Keyboard shortcut: 'u'  Previous page: HTML mirror usage examples -- Keyboard shortcut: 'p'  Next page: Tables with higher-order functions -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home      Higher-order Functions - slide 29 : 34

Making tables with the real mirror

The real mirror provide for more elegance than the simple mirror illustrated above

Here we will use the XHTML1.0 transitional mirror


Rendered value

  'border 3
     (map td (list "c1" "c2" "c3"))
     'bgcolor "#ff0000")
     (map td (list "c4" "c5" "c6")))
     (map td (list "c7" "c8" "c9")))
<table border = "3">
  <tr bgcolor = "#ff0000">
Same as above
c1 c2 c3
c4 c5 c6
c7 c8 c9