example2_children - child elements are embedded parameters

encourages html-like indentation



show FuncyTag html string output

show Javascript source code

To Notice: Nesting in the funcyTag javascript, e.g.
div( {...},
     ...
     div( {...},
          ...
          div( {...}, ... ),
          ...
     ),
     ...
)
leads to a comparable nesting of the resulting HTML code:
<div ... >
    ...
    <div ... >
        ...
        <div ... >
            ...
        </div>
        ...
    </div>
    ...
</div>

next: example3_css_properties top: all js examples