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: height 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
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: width property
HTML DOM The **`width`** property of the HTMLSourceElement interface is a non-negative number indicating the width 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 `width` attribute of the source element. ## Value A non-negative number indicating the width of the image resource in CSS pixels. ## Examples ```ht
HTML DOM API
HTMLParagraphElement - HTMLPictureElement - HTMLPreElement - HTMLProgressElement - HTMLQuoteElement - HTMLScriptElement - HTMLSelectElement - HTMLSlotElement - HTMLSourceElement - HTMLSpanElement - HTMLStyleElement - HTMLTableCaptionElement - HTMLTableCellElement - HTMLTableColElement - HTMLTableElement - HTMLTableRowElement - HTMLTableSectionElement - HTMLTemplateElement - HTMLTextAreaElement - HTMLTimeElement - HTM
HTMLIFrameElement: height property
cations ## Browser compatibility ## See also - HTMLCanvasElement.height - HTMLEmbedElement.height - HTMLImageElement.height - HTMLObjectElement.height - HTMLSourceElement.height - HTMLVideoElement.height