Web | This Site

WML Home
WML Tags Reference
Selected Reading
© 2011 TutorialsPoint.COM

| Home |  | References |  | Discussion Forums |  | About TP

# WML <b> Tag

The <b> element defines a bold text.

# Attributes:

This element supports the following attributes:

Attribute | Value | Description
--- | --- | ---
xml:lang | language_code | Sets the language used in the element
class | string | Sets a class name for the element.
id | element ID | A unique ID for the element.

# Example:

Following is the example showing usage of this element.

    <?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>

This will produce following result:

Advertisement

Online Image Processing

Indian Baby Names