HTML CSS Reference/HTML Attributes Reference/border

Материал из Web эксперт
Перейти к: навигация, поиск

"border" Example

    
<HTML>
<head><Title>Example For border</Title></head>
<BODY>
<table width="542" border="10"><tr><td>cell</td></tr></table>
</BODY>
</HTML>



border is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<embed>                         <frameset>                    |
|                |<iframe>                        <img>                         |
|                |<object>                        <table>                       |
+----------------+--------------------------------------------------------------+



"border" Syntax and Note

Note:
    
This attribute sets the thickness in pixels of the border around an element.
    
Syntax:
    
<element border="value"> . . . </element>