picture

slinky.web.html.picture$
object picture extends Tag

The HTML <picture> element is a container used to specify multiple <source> elements for a specific <img> contained in it. The browser will choose the most suitable source according to the current layout of the page (the constraints of the box the image will appear in) and the device it will be displayed on (e.g. a normal or hiDPI device.)

Attributes

Graph
Supertypes
trait Tag
class Object
trait Matchable
class Any
Self type
picture.type

Members list

Concise view

Type members

Classlikes

object tag extends TagElement

Attributes

Graph
Supertypes
class TagElement
class Object
trait Matchable
class Any
Self type
tag.type

Types

type tagType = tag.type

Value members

Concrete methods

def apply(mods: TagMod[tag.type]*): WithAttrs[tagType]