English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Die height-Eigenschaft gibt die Höhe des eingebetteten Inhalts in Pixel an. Hinweis: Mit der width-Eigenschaft kann die Breite des eingebetteten Inhalts angegeben werden.
Eine Höhe und Breite von 200-Pixel-Flash-Animation:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML <embed> height Eigenschaft verwenden-Basic Tutorial(oldtoolbag.com)</title> </head> <body> <embed src="helloworld.swf" width="200" height="200" style="border:1px solid"> </body> </html>Test see ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the height attribute.
The height attribute specifies the height of the embedded content in pixels.
Hint: Use the width attribute to specify the width of the embedded content
The <embed> tag is an HTML5 of the new tags in.
<embed height="pixels">
Value | Description |
---|---|
pixels | Define the height of the embedded content in pixels (for example height="100")。 |