Allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own.

no subtypes hierarchy

Initializer
Source(String? src, String? media, String? type, String? id)
Parameters:
  • src

    Specifies the URL of the media file.

  • media

    Specifies the type of media resource.

  • type

    Specifies the MIME type of the media resource.

Attributes
mediaSource Codeshared String? media

Specifies the type of media resource.

srcSource Codeshared String? src

Specifies the URL of the media file.

tagSource Codeshared actual Tag tag

The tag name and type.

Refines Node.tag
typeSource Codeshared String? type

Specifies the MIME type of the media resource.

Inherited Attributes
Attributes inherited from: Element
Attributes inherited from: Object
Inherited Methods
Methods inherited from: Object