Mercurial > urweb
annotate tests/plink.ur @ 1924:b44138e6a3bf
Add activeHead tag.
activeHead is similar to active but produces xhead instead of xbody
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Fri, 06 Dec 2013 13:59:39 +0400 |
parents | 71bafe66dbe1 |
children |
rev | line source |
---|---|
adamc@120 | 1 val pA = fn size => <html><body> |
adamc@120 | 2 <font size={size}>Hello World!</font> |
adamc@120 | 3 </body></html> |
adamc@120 | 4 |
adamc@144 | 5 val main : unit -> page = fn () => <html><body> |
adamc@120 | 6 <li> <a link={pA 5}>Size 5</a></li> |
adamc@120 | 7 <li> <a link={pA 10}>Size 10</a></li> |
adamc@120 | 8 </body></html> |