Page 106 - DCAP512_WAP_AND_WML
P. 106

WAP & WML




                    Notes          <wml>
                                   <card title=”Table”>
                                   <p>
                                   <table columns=”3">

                                   <tr>
                                   <td>Cell 1</td>
                                   <td>Cell 2</td>
                                   <td>Cell 3</td>

                                   </tr></table>
                                   </p>
                                   </card>
                                   </wml>

                                   The result MIGHT look like this in your mobile phone display:

                                     ------ Table ------
                                    Cell 1   Cell 2   Cell 3

                                   Self Assessment


                                   Fill in the blanks:
                                   7.  The  p  element establishes  both the  …………………  and  alignment parameters for  a
                                       paragraph.

                                   8.  <br/> is the line breaking tag in WML, which is the same as that in …………………
                                   9.  If a line break occurs at  a …………………,  the user agent inserts  a hyphen  character
                                       (- ) at the end of the line.

                                   10.  The  ………………… establishes  both the  new wrap  and  alignment parameters for  a
                                       paragraph.

                                   7.3 Rendering


                                   7.3.1 Special Characters

                                   WML supports both named and numeric character entities. All numeric character entities are
                                   referenced with respect to the document character set (Unicode) and not to the current document
                                   encoding (charset). This means that the notation { always refers to the same logical character,
                                   independent of the current character encoding. WML supports the following character entity
                                   formats:

                                   1.  Named character entities, such as & and <
                                   2.  Decimal numeric character entities, such as {
                                   3.  Hexadecimal numeric character entities, such as 




          100                               LOVELY PROFESSIONAL UNIVERSITY
   101   102   103   104   105   106   107   108   109   110   111