Yes, you can use `Html.node` for those. You might be better to
wrapping it with that stuff yourself outside of Elm though.
On Wed, Dec 14, 2016 at 5:18 PM, 'Rupert Smith' via Elm Discuss
<elm-discuss@googlegroups.com> wrote:
> On Wednesday, December 14, 2016 at 3:50:29 PM UTC, Rupert Smith wrote:
>>
>> The html elements <html> <head> <meat> <title> <link> do not have
>> counterparts in the Html module, but they are part of Html. It does not
>> usually make sense to need them in Elm, since you tend to run Elm within the
>> Html <body> as fullscreeen or attach it to a DOM node deeper within the
>> body.
>>
>> For complete server side rendering, it does make sense to have build these
>> Html elements within Elm.
>>
>> Should they be added to the Html module?
>>
>> Or should I just write my own set of functions, I think using Html.node it
>> will be possible to make this work?
>
>
> Html.node "meta"
> [ attribute "charset" "utf-8" ]
> []
>
> Outputs <meta></meta> with no attributes. Could be a bug in the
> elm-server-side-renderer code though.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.