example1_funcytag_intro - demonstrate very basic use of Tags as Functions

FuncyTag replaces html with a javscript-like syntax



show FuncyTag html string output

show Javascript source code

To Notice: instead of writing HTML via XML tag syntax, as in:
<P id="outty" style="font-size:200%;color:red;">
  I'm a little teacup, short and stout.
</P>
we're treating HTML as if it's a set of javascript calls, with the first argument being the attribute object, and additional objects being the content:
p( { id:'outty', style:'font-size:200%;color:red;' },
   "I'm a little teacup, short and stout."
);

next: example2_children top: all js examples