Page 98 - DCAP512_WAP_AND_WML
P. 98

WAP & WML                                                       Sarabjit Kumar, Lovely Professional University




                    Notes                              Unit 7: Managing Outputs

                                     CONTENTS

                                     Objectives
                                     Introduction
                                     7.1  Basic Card Output
                                          7.1.1  Card Setup
                                          7.1.2  Paragraph of Text Formatting Option

                                     7.2  Layout
                                          7.2.1  Text Wrapping and Alignment
                                          7.2.2  Line Break

                                          7.2.3  Tables
                                     7.3  Rendering
                                          7.3.1  Special Characters
                                     7.4  Summary
                                     7.5  Keywords

                                     7.6  Review Questions
                                     7.7  Further Readings

                                  Objectives

                                  After studying this unit, you will be able to:
                                      Scan basic card output

                                      Describe layout and rendering
                                  Introduction


                                  Wireless Markup Language (WML) is a markup language based on Extensible Markup Language
                                  (XML) and was developed specifically for content and user interface for mobile device. WML is
                                  a tag-based markup language designed after the model of HTML for Web content. The designers
                                  of WML (and its companion scripting language, WMLScript) created an environment that demands
                                  less memory and processing power from browsers than HTML and JavaScript.

                                       !
                                     Caution  WML also includes features that tailor it for the relatively small display sizes of
                                     today’s wireless devices .WML and HTML differ in significant ways.
                                  Although WML strips some features from HTML and co-opts others, WML also incorporates
                                  some powerful programming constructs not found in HTML like variables, tasks, and events.
                                  WML implements a stricter tag syntax than HTML and includes a DTD for use with XML parsers.
                                  The markup language of the WAP protocol for wireless Internet access. Pages written in WML
                                  can be read and displayed properly by cell phones with a small screen where standard HTML
                                  pages (the markup language  used on most regular wide web pages) would produce an bad
                                  output and might even be unviewable.


          92                                LOVELY PROFESSIONAL UNIVERSITY
   93   94   95   96   97   98   99   100   101   102   103