Parse HTML 5 in Elm. See https://www.w3.org/TR/html5/syntax.html
An HTML node. It can either be:
An HTML attribute. For instance:
( "href", "https://elm-lang.org" )If you are building a parser of your own using elm/parser and
you need to parse HTML... This section is for you!
Turn a parser node back into its HTML string.
For instance:
Element "a"
[ ( "href", "https://elm-lang.org" ) ]
[ Text "Elm" ]
|> toStringProduces <a href="https://elm-lang.org">Elm</a>.
Run the parser!