English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This article introduces the usage method of the HTML embed width attribute, demonstrates how to use the HTML embed width attribute online, browser compatibility, syntax definition, and detailed information about its attribute values.
A 200-pixel height and width flash animation:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML <embed> width attribute usage - Basic Tutorial (oldtoolbag.com)</title> </head> <body> <embed src="helloworld.swf" width="200" height="200" style="border:1px solid"> </body> </html>Проверьте, чтобы посмотреть ‹/›
IEFirefoxOperaChromeSafari
Все основные браузеры поддерживают атрибут width.
Атрибут width определяет ширину嵌入енного содержимого (в пиках).
Совет: Использование атрибута height можно определить высоту嵌入емого содержимого.
<embed> тег - это новый тег в HTML5.
<embed width="пиксели">
Значение | Описание |
---|---|
пиксели | Определяет ширину嵌入内容的 в пиках (например, width="100"). |