Tutorials Point


  WML Home

  WML Tags Reference
  Selected Reading

© 2011 TutorialsPoint.COM


  Home     References     Discussion Forums     About TP  

WML <br> Tag


The <br /> element defines a line break and almost all WAP browsers supports a line break tag.

Attributes:

The <br /> element supports the following attributes:

AttributeValueDescription
xml:langlanguage_codeSets the language used in the element
classclass dataSets a class name for the element.
idelement IDA unique ID for the element.

Example:

Following is the example showing usage of <br /> element.

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN"
"http://www.wapforum.org/DTD/wml12.dtd">

<wml>

<card title="Line Break Example">
<p align="center">
This is a <br /> paragraph with a line break.
</p>
</card>

</wml>

This will produce following result:

WAP Example 4


Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names