Mercurial > urweb
view tests/plink.ur @ 2119:5439b35c5d0b
Add 'download' attribute to <a/>, part of HTML5
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Sun, 26 Oct 2014 14:07:07 +0000 |
parents | 71bafe66dbe1 |
children |
line wrap: on
line source
val pA = fn size => <html><body> <font size={size}>Hello World!</font> </body></html> val main : unit -> page = fn () => <html><body> <li> <a link={pA 5}>Size 5</a></li> <li> <a link={pA 10}>Size 10</a></li> </body></html>