Wml-fonts
提供:Dev Guides
WML-フォント
WMLは<font>要素をサポートしていませんが、他のWML要素があり、下線付きテキスト、太字テキスト、斜体テキストなどのさまざまなフォント効果を作成するために使用できます。
これらのタグを次の表に示します。
WML Elements | Purpose |
---|---|
<b> | Defines bold text |
<big> | Defines big text |
<em> | Defines emphasized text |
<i> | Defines italic text |
<small> | Defines small text |
<strong> | Defines strong text |
<u> | Defines underlined text |
これらの要素は、次の属性をサポートしています。
Attribute | Value | Description |
---|---|---|
xml:lang | language_code | Sets the language used in the element |
class | class data | Sets a class name for the element. |
id | element ID | A unique ID for the element. |
以下は、これらの要素の使用法を示す例です。
これにより、次の結果が生成されます。