久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      html怎么給表格里字體改顏色

      html給表格里字體改顏色的方法:首先打開相應(yīng)的HTML文件;然后找到table代碼;最后通過(guò)設(shè)置“table .red {color:#FF0000}”屬性來(lái)修改顏色即可。

      html怎么給表格里字體改顏色

      本文操作環(huán)境:windows7系統(tǒng)、HTML5&&CSS3版,DELL G3電腦

      為html表格中的字體設(shè)置顏色,首先對(duì)td標(biāo)簽class命名,然后在CSS樣式表中添加代碼,示例如下:

      <table width="80%" border="1"> <tr> <td class="red">顯示紅色</td> <td class="yellow">顯示藍(lán)色</td> <td class="green">顯示綠色</td> </tr> </table>

      樣式表如下:

      <style type="text/css"> table .red {color:#FF0000} table .yellow {color:#0000FF} table .green {color:#0000FF} </style>

      效果如下:

      html怎么給表格里字體改顏色

      另外一種方法是直接在當(dāng)前標(biāo)簽中嵌入樣式,寫法如下:

      <table width="60%" border="1"> <tr> <td style="color:#FF0000">顯示紅色</td> <td style="color:#0000FF">顯示藍(lán)色</td> <td style="color:#00FF00">顯示綠色</td> </tr> </table>

      推薦學(xué)習(xí):《HTML視頻教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)