@@ -5,7 +5,7 @@ module Html exposing
55 , div, p, hr, pre, blockquote
66 , span, a, code, em, strong, i, b, u, sub, sup, br
77 , ol, ul, li, dl, dt, dd
8- , img, iframe, canvas, math
8+ , img, picture , iframe, canvas, math
99 , form, input, textarea, button, select, option
1010 , section, nav, article, aside, header, footer, address, main_
1111 , figure, figcaption
@@ -40,7 +40,7 @@ expect to use frequently will be closer to the top.
4040@docs ol, ul, li, dl, dt, dd
4141
4242## Embedded Content
43- @docs img, iframe, canvas, math
43+ @docs img, picture, iframe, canvas, math
4444
4545## Inputs
4646@docs form, input, textarea, button, select, option
@@ -590,6 +590,10 @@ img : List (Attribute msg) -> List (Html msg) -> Html msg
590590img =
591591 Elm . Kernel . VirtualDom . node " img"
592592
593+ {- | Represents an image using one of many possible sources -}
594+ picture : List (Attribute msg ) -> List (Html msg ) -> Html msg
595+ picture =
596+ Elm . Kernel . VirtualDom . node " picture"
593597
594598{- | Embedded an HTML document. -}
595599iframe : List (Attribute msg ) -> List (Html msg ) -> Html msg
0 commit comments