English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Die border-Eigenschaft spezifiziert die Breite der Rahmen um <object>. HTML5 Die <object> border-Eigenschaft wird nicht unterstützt, verwenden Sie stattdessen CSS
Rahmenbreite von3Pixel des<object>:
!DOCTYPE html> <html> <head> <title>HTML:<object> border 属性 - 基础教程网(oldtoolbag.com)</title> </head> <body> <object width="200" height="200" data="bookmark.swf" border="3></object> </body> </html>Test it out ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the border attribute.
HTML5 The <object> border attribute is not supported. Please use CSS instead.
In HTML 4.01 In the specification, the <object> border attribute has been deprecated.
The border attribute specifies the width of the border around the <object>.
In HTML 4.01 In the specification, the <object> border attribute has been deprecated. Please use CSS instead.
CSS Syntax: <object style="border:5px solid black">
CSS Example: <object> with border
In our CSS tutorial, you can find more aboutborder attributedetails.
<object border="pixels">
Value | Description |
---|---|
pixels | Border width in pixels. |