Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Webmaster's Guide to the Wireless Internet part 14. The Webmaster’s Guide to the Wireless Internet provides the Wireless Webmaster with all of the tools necessary to build the next generation Internet. Packed with the essential information they need to design, develop, and secure robust, e-commerce enabled wireless Web sites. This book is written for advanced Webmasters who are experienced with conventional Web site design and are now faced with the challenge of creating sites that fit on the display of a Web enabled phone or PDA | 102 Chapter 3 A New Markup WML The i Element The i element signifies that the text contained within should be rendered by the user-agent in an italic font. However em is the recommended use to signify emphasis.Table 3.13 lists the attribute for the i element. Table 3.13 Attribute for the i element Attribute Name Description xml lang The natural or formal language of the element The following is an example of the syntax for the i element This is normal text but i this is italic text i . The img Element The img element allows a wireless bitmap WBMP image to be included. See Table 3.14 for a list of attributes for the img element. Table 3.14 Attributes for the img Element Attribute Name Description align Specifies how the image should be aligned with reference to the text flow it appears within. Possible options are one of top middle or bottom. alt Alternate text that can be displayed when the image is unavailable. height hspace The height of the image in pixels. The amount of padding that should be applied to the image horizontally. localsrc An image contained internally within the device that can be displayed as an alternative. src The URI where the image to be displayed resides. vspace The amount of padding that should be applied to the image vertically. width xml lang The width of the image in pixels. The natural or formal language of the element. www.syngress.com A New Markup WML Chapter 3 103 The following is an example of the syntax for the img element img src logo.wbmp alt Company Logo height 30 width 60 The input Element The input element allows data to be entered by the user it features some useful methods of constraining the input via the format attribute which can mask the content to ensure that only the input you want is sent to the server. See Table 3.15 for a list of attributes for the input element. Table 3.15 Attributes for the input Element Attribute Name Description emptyok This is either true or false and if set to true the element will allow the .