當前位置:軟件學堂 > 資訊首頁 > 網絡編程 > DIV+CSS > table邊框顏色屬性bordercolor

table邊框顏色屬性bordercolor

2012/11/20 13:51:28作者:佚名來源:網絡

移動端

【實例介紹】

table邊框顏色屬性bordercolor

bordercolor用于設置行的邊框顏色。

【基本語法】

<tr bordercolor="邊框的顏色">

【語法介紹】

【實例代碼】

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>邊框顏色屬性</title> </head>

<body> <table width="80%" border="1" cellpadding="10" cellspacing="0" align="center">   <tr bordercolor="#ff6600">     <td >一世等待,一場空白</td>   </tr>   <tr >     <td>塵緣如夢,相逢是緣</td>   </tr>   <tr >     <td>紅塵陌上,依舊孑然</td>   </tr> </table> </body> </html>

 

【代碼分析】

在代碼中,加粗部分的代碼標記用于設置表格行的邊框顏色,將第1行的邊框顏色設置為紅色,如圖所示。

邊框顏色屬性bordercolor運行效果

 【素材及源碼下載】

請點擊:邊框顏色屬性bordercolor 下載本實例相關素材及源碼

 

標簽: table    

欧美一级一极性活片免费观看,欧美一级艳片欧美精品,欧美一级性爱大片,欧美一级囗交视频 视频,欧美一级特黄录像视频