WML <i> 標籤



        <em> 元素定義斜體文字。

        屬性

        此元素支援以下屬性

        屬性描述
        xml:lang語言程式碼設定元素中使用的語言
        class字串為元素設定類名。
        id元素 ID元素的唯一 ID。

        示例

        以下示例展示了此元素的用法。

        <?xml version="1.0"?>
        <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN"
        "http://www.wapforum.org/DTD/wml12.dtd">
        
        <wml>
        
        <card title="Text Formatting">
        <p>
          <b>bold text</b><br/>
          <big>big text</big><br/>
          <em>emphasized text</em><br/>
          <i>italic text</i><br/>
          <small>small text</small><br/>
          <strong>strong text</strong><br/>
          <u>underlined text</u>
        </p>
        </card>
        
        </wml>
        

        這將產生以下結果

        WAP Example 6
        廣告
© . All rights reserved.