HTML CSS Reference/HTML Attributes Reference/bordercolor

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

"bordercolor" Example

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



bordercolor is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<frame>                         <frameset>                    |
|                |<table>                         <td>                          |
|                |<th>                            <tr>                          |
+----------------+--------------------------------------------------------------+



"bordercolor" Syntax and Note

Note:
    
This attribute specifies the color of the element border. 
Its value is either a color name or a hexadecimal color value using the 
"#RRGGBB" method.
    
Syntax:
    
<element bordercolor="value"> . . . </element>