WML <em> 標籤



        <em> 元素定義強調文字。

        屬性

        該元素支援以下屬性

        屬性說明
        xml:langlanguage_code設定元素中使用的語言
        classstring為元素設定類名。
        idelement 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.