Write a program that provides the declaration of the document using WML markup? - WMLScript
Write a program that provides the declaration of the document using WML markup?
- WML is used in the documents to validate the document that uses WML DTD (Document Type Definition).
- It provides validation services that can be used to correct the errors made in WML documents.
- WML page can be written as:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml" >
<wml>
<card id="main" title="CARD">
<p mode="wrap">Hello World</p>
</card>
</wml>