GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for HTMLSourceElement: width property.

Developer library 6

` ` HTML media or image source element

<th scope="row">Permitted ARIA roles</th> <td>No <code>role</code> permitted</td> </tr> <tr> <th scope="row">DOM interface</th> <td>HTMLSourceElement</td> </tr> </tbody> </table> ## Specifications ## Browser compatibility ## See also - audio element - picture element - video element - [Image file type and format guide](/docs/Web/Media/Guides/Formats/Image_types) - [Media type

HTMLSourceElement

HTML DOM The **`HTMLSourceElement`** interface provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating source elements. ## Instance properties _Inherits properties from its parent, HTMLElement._ - HTMLSourceElement.height - : A number that reflects the [`height`](/docs/Web/HTML/Reference/Elements/source#height) HTML attribute, i

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement

HTMLSourceElement: media property

HTML DOM The **`media`** property of the HTMLSourceElement interface is a string representing the intended destination medium for the resource. The value is a [media query](/docs/Web/CSS/Guides/Media_queries/Using), which is a comma separated list of media-types, media-features, and logical operators. It reflects the `media` attribute of the source element. ## Value A string. ## Examples ```html <video> <sour

HTMLSourceElement: height property

HTML DOM The **`height`** property of the HTMLSourceElement interface is a non-negative number indicating the height of the image resource in CSS pixels. The property has an effect only if the parent of the current source element is a picture element. It reflects the `height` attribute of the source element. ## Value A non-negative number indicating the height of the image resource in CSS pixels. ## Examples `

HTMLSourceElement: src property

HTML DOM The **`src`** property of the HTMLSourceElement interface is a string indicating the URL of a media resource to use as the source for the element. It reflects the `src` attribute of the source element nested in an audio or video element. It has no meaning and is ignored when it is nested in a picture element. ## Value A string; the URL of a source resource to use in the element. ## Examples ```html <vi

HTMLSourceElement: sizes property

HTML DOM The **`sizes`** property of the HTMLSourceElement interface is a string representing a list of one or more sizes, representing sizes between breakpoints, to which the resource applies. It reflects the `sizes` attribute of the source element. ## Value A string. ## Examples ```html <picture> <source id="el" srcset="medium-pic.jpg" type="image/jpeg" sizes="(50em <= width <= 60px) 50em,

JSON results · Services directory