Warning: Reason support is experimental. We are looking for beta-tester and contributors.

How to add a div?

div ~a:[a_class ["firstclass"; "secondclass"]] [txt "Hello!"]

Required parameter: list containing other elements (Details of available elements in type Html_types.flow5).

Optional parameter for attributes "a" (How to set and id, classes or other attributes to HTML elements?).

Download full code

Warning: This third party code may be outdated. Please notify the author is something is broken, or do a pull request on github.