<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # HTML &lt;font&gt; 標簽 ## 定義和用法 &lt;font&gt; 規定文本的字體、字體尺寸、字體顏色。 ## 實例 規定文本字體、大小和顏色: ``` <font size="3" color="red">This is some text!</font> <font size="2" color="blue">This is some text!</font> <font face="verdana" color="green">This is some text!</font> ``` ## 瀏覽器支持 | IE | Firefox | Chrome | Safari | Opera | | --- | --- | --- | --- | --- | 所有主流瀏覽器都支持 &lt;font&gt; 標簽。 ## HTML 與 XHTML 之間的差異 在 HTML 4.01 中,font 元素不被贊成使用。 在 XHTML 1.0 Strict DTD 中,font 元素不被支持。 ## 提示和注釋: 提示:請使用樣式(代替 &lt;font&gt;)來[定義文本的字體、字體顏色、字體尺寸](/css/css_text.asp "CSS 文本")。 ## 可選的屬性 | 屬性 | 值 | 描述 | | --- | --- | --- | | [color](/tags/att_font_color.asp "HTML &lt;font&gt; 標簽的 color 屬性") | _rgb(x,x,x)_ _#xxxxxx_ _colorname_ | 不贊成使用。請使用樣式取代它。規定文本的顏色。 | | [face](/tags/att_font_face.asp "HTML &lt;font&gt; 標簽的 face 屬性") | *font_family* | 不贊成使用。請使用樣式取代它。規定文本的字體。 | | [size](/tags/att_font_size.asp "HTML &lt;font&gt; 標簽的 size 屬性") | _number_ | 不贊成使用。請使用樣式取代它。規定文本的大小。 | ## 標準屬性 ``` id, class, title, style, dir, lang, xml:lang ``` 如需完整的描述,請訪問[標準屬性](/tags/html_ref_standardattributes.asp)。 ## 事件屬性 ``` NONE ``` 如需完整的描述,請訪問[事件屬性](/tags/html_ref_eventattributes.asp)。 ## TIY 實例 [設置文字的字體](/tiy/t.asp?f=html_font-family "Set the font of text") 本例演示如何設置文字的字體。 ``` <html> <body> <h1 style="font-family:verdana">A heading</h1> <p style="font-family:courier">A paragraph</p> </body> </html> ``` [設置文字的尺寸](/tiy/t.asp?f=html_font-size "Set the font size of text") 本例演示如何設置文字的尺寸。 ``` <html> <body> <h1 style="font-size:150%">A heading</h1> <p style="font-size:80%">A paragraph</p> </body> </html> ``` [設置文字的顏色](/tiy/t.asp?f=html_color "Set the font color of text") 本例演示如何設置文字的顏色。 ``` <html> <body> <h1 style="color:blue">A heading</h1> <p style="color:red">A paragraph</p> </body> </html> ``` [設置文字的字體、字體尺寸、字體顏色](/tiy/t.asp?f=html_fontall "Set the font, font size, and font color of text") 本例演示如何設置文字的字體、字體尺寸、字體顏色. ``` <html> <body> <p style="font-family:verdana;font-size:80%;color:green"> This is a paragraph with some text in it. This is a paragraph with some text in it. This is a paragraph with some text in it. This is a paragraph with some text in it. </p> </body> </html> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看