阅读背景:

第二节 html字体颜色

来源:互联网 

html字体代码:

<html>
    <head>
        <title>字体颜色</title><!--网页标题-->
    </head>
    <body>
    <!--align 是对其方式属性-->
    <!--color 属于颜色属性-->
    <h1 align=center> <font color=green>世界奥运的颜色</font></h1><!--标题标签-->
        (红色字体)<br/>
        <font color=red>Hello World!</font><!--文字标签-->
        <br/><!--换行标签-->
        <hr color=red></hr><!--水平线标签-->
        (蓝色字体)<br/>
        <font color=blue>你好 世界!</font>
        <hr color=blue></hr>
        (绿色字体)
        <br/>
        <font color=green>你好 世界!</font>
        <hr color=green></hr>
        (黑色字体)<br/>
        <font color=black>你好 世界!</font>
        <hr color=black></hr>
        (黄色字体)
        <br/>
        <font color=yellow>你好 世界!</font>
        <hr color=yellow></hr>
        <h1 align=center>表格颜色</h1>
        <hr/>
        <!--table是表格标签 border表格的边框(border=<html>
    <head>
        <tit



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: