tweaked syntax to mesh well when inside html
added second example with more html