Soumettre la recherche
Mettre en ligne
Brief on Device Awareness and Content Adaptation
•
Télécharger en tant que PPTX, PDF
•
0 j'aime
•
145 vues
tawi123
Suivre
Brief on Mobile device awareness and content adaptation
Lire moins
Lire la suite
Formation
Signaler
Partager
Signaler
Partager
1 sur 28
Télécharger maintenant
Recommandé
XHTML and CSS
XHTML and CSS
tawi123
Workstation Exercises
Workstation Exercises
tawi123
Tawi SMS Application Form - Sender Id
Tawi SMS Application Form - Sender Id
tawi123
CA Consumer Protection Regulations 2010
CA Consumer Protection Regulations 2010
tawi123
Tawi SMS Application Form - SMS Short Code
Tawi SMS Application Form - SMS Short Code
tawi123
Kenya Consumer Protection Act 2012
Kenya Consumer Protection Act 2012
tawi123
Tawi Product Overview
Tawi Product Overview
tawi123
Tawi SMS Gateway Developer Guide
Tawi SMS Gateway Developer Guide
tawi123
Recommandé
XHTML and CSS
XHTML and CSS
tawi123
Workstation Exercises
Workstation Exercises
tawi123
Tawi SMS Application Form - Sender Id
Tawi SMS Application Form - Sender Id
tawi123
CA Consumer Protection Regulations 2010
CA Consumer Protection Regulations 2010
tawi123
Tawi SMS Application Form - SMS Short Code
Tawi SMS Application Form - SMS Short Code
tawi123
Kenya Consumer Protection Act 2012
Kenya Consumer Protection Act 2012
tawi123
Tawi Product Overview
Tawi Product Overview
tawi123
Tawi SMS Gateway Developer Guide
Tawi SMS Gateway Developer Guide
tawi123
Tawi Airtime Gateway Developer Guide
Tawi Airtime Gateway Developer Guide
tawi123
Survey of WML
Survey of WML
tawi123
The Kenya Information and Communications Consumer Protection Regulations 2010
The Kenya Information and Communications Consumer Protection Regulations 2010
tawi123
Tawi SMS-USSD Customer Agreement
Tawi SMS-USSD Customer Agreement
tawi123
Communication Authority of Kenya (CA) Procedures and Guidelines for Short cod...
Communication Authority of Kenya (CA) Procedures and Guidelines for Short cod...
tawi123
Server Side Technologies
Server Side Technologies
tawi123
Tawi Innovation Center Value Proposition
Tawi Innovation Center Value Proposition
tawi123
Introduction to SMS, MMS, Modems & Gateways
Introduction to SMS, MMS, Modems & Gateways
tawi123
Computer Workstation Ergonomics
Computer Workstation Ergonomics
tawi123
Successful Prototyping
Successful Prototyping
tawi123
Software Tools Overview
Software Tools Overview
tawi123
Mobile Internet Standards
Mobile Internet Standards
tawi123
HTML practical file
HTML practical file
Kuldeep Sharma
What is html xml and xhtml
What is html xml and xhtml
FkdiMl
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1
Paxcel Technologies
Vskills angular js sample material
Vskills angular js sample material
Vskills
Service Oriented Architecture
Service Oriented Architecture
Luqman Shareef
Software Development Trends 2010-2011
Software Development Trends 2010-2011
Charalampos Arapidis
1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation
JohnLagman3
Class2
Class2
Jiyeon Lee
1. Introduction to HTML5.ppt
1. Introduction to HTML5.ppt
JyothiAmpally
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
Sony235240
Contenu connexe
En vedette
Tawi Airtime Gateway Developer Guide
Tawi Airtime Gateway Developer Guide
tawi123
Survey of WML
Survey of WML
tawi123
The Kenya Information and Communications Consumer Protection Regulations 2010
The Kenya Information and Communications Consumer Protection Regulations 2010
tawi123
Tawi SMS-USSD Customer Agreement
Tawi SMS-USSD Customer Agreement
tawi123
Communication Authority of Kenya (CA) Procedures and Guidelines for Short cod...
Communication Authority of Kenya (CA) Procedures and Guidelines for Short cod...
tawi123
Server Side Technologies
Server Side Technologies
tawi123
Tawi Innovation Center Value Proposition
Tawi Innovation Center Value Proposition
tawi123
Introduction to SMS, MMS, Modems & Gateways
Introduction to SMS, MMS, Modems & Gateways
tawi123
Computer Workstation Ergonomics
Computer Workstation Ergonomics
tawi123
Successful Prototyping
Successful Prototyping
tawi123
Software Tools Overview
Software Tools Overview
tawi123
En vedette
(11)
Tawi Airtime Gateway Developer Guide
Tawi Airtime Gateway Developer Guide
Survey of WML
Survey of WML
The Kenya Information and Communications Consumer Protection Regulations 2010
The Kenya Information and Communications Consumer Protection Regulations 2010
Tawi SMS-USSD Customer Agreement
Tawi SMS-USSD Customer Agreement
Communication Authority of Kenya (CA) Procedures and Guidelines for Short cod...
Communication Authority of Kenya (CA) Procedures and Guidelines for Short cod...
Server Side Technologies
Server Side Technologies
Tawi Innovation Center Value Proposition
Tawi Innovation Center Value Proposition
Introduction to SMS, MMS, Modems & Gateways
Introduction to SMS, MMS, Modems & Gateways
Computer Workstation Ergonomics
Computer Workstation Ergonomics
Successful Prototyping
Successful Prototyping
Software Tools Overview
Software Tools Overview
Similaire à Brief on Device Awareness and Content Adaptation
Mobile Internet Standards
Mobile Internet Standards
tawi123
HTML practical file
HTML practical file
Kuldeep Sharma
What is html xml and xhtml
What is html xml and xhtml
FkdiMl
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1
Paxcel Technologies
Vskills angular js sample material
Vskills angular js sample material
Vskills
Service Oriented Architecture
Service Oriented Architecture
Luqman Shareef
Software Development Trends 2010-2011
Software Development Trends 2010-2011
Charalampos Arapidis
1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation
JohnLagman3
Class2
Class2
Jiyeon Lee
1. Introduction to HTML5.ppt
1. Introduction to HTML5.ppt
JyothiAmpally
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
Sony235240
Introduction to html5
Introduction to html5
Manav Prasad
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
Heather Rock
Introduction to HTML5
Introduction to HTML5
IT Geeks
Xhtml
Xhtml
Samir Sabry
Html5 Introduction
Html5 Introduction
Manoj Kumar
mst_unit1.pptx
mst_unit1.pptx
michaelaaron25322
Introduction to html55
Introduction to html55
subrat55
CSS
CSS
bjornh
Mobile Website Development
Mobile Website Development
tawi123
Similaire à Brief on Device Awareness and Content Adaptation
(20)
Mobile Internet Standards
Mobile Internet Standards
HTML practical file
HTML practical file
What is html xml and xhtml
What is html xml and xhtml
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1
Vskills angular js sample material
Vskills angular js sample material
Service Oriented Architecture
Service Oriented Architecture
Software Development Trends 2010-2011
Software Development Trends 2010-2011
1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation
Class2
Class2
1. Introduction to HTML5.ppt
1. Introduction to HTML5.ppt
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
Introduction to html5
Introduction to html5
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
Introduction to HTML5
Introduction to HTML5
Xhtml
Xhtml
Html5 Introduction
Html5 Introduction
mst_unit1.pptx
mst_unit1.pptx
Introduction to html55
Introduction to html55
CSS
CSS
Mobile Website Development
Mobile Website Development
Plus de tawi123
Tax Compliance Certificate, May 2016 - May 2017
Tax Compliance Certificate, May 2016 - May 2017
tawi123
Overview of Java
Overview of Java
tawi123
Mobile Internet Best Practices
Mobile Internet Best Practices
tawi123
Introduction to Mobile Internet
Introduction to Mobile Internet
tawi123
Linux, PHP, SMS - USSD Examination
Linux, PHP, SMS - USSD Examination
tawi123
Work Injury Benefits Act 2007
Work Injury Benefits Act 2007
tawi123
Tax KRA Compliance Certificate
Tax KRA Compliance Certificate
tawi123
Tawi Staff Handbook 2015
Tawi Staff Handbook 2015
tawi123
Tawi Nairobi City County License 2015
Tawi Nairobi City County License 2015
tawi123
Tawi NSSF Registration
Tawi NSSF Registration
tawi123
Tawi tax KRA Certificate
Tawi tax KRA Certificate
tawi123
Tawi FKE Certificate of Membership 2014
Tawi FKE Certificate of Membership 2014
tawi123
Tawi Fire Clearance Certificate 2015
Tawi Fire Clearance Certificate 2015
tawi123
Tawi Customer Onboarding Process
Tawi Customer Onboarding Process
tawi123
Tawi CA CSP License 2014-2015
Tawi CA CSP License 2014-2015
tawi123
Plus de tawi123
(15)
Tax Compliance Certificate, May 2016 - May 2017
Tax Compliance Certificate, May 2016 - May 2017
Overview of Java
Overview of Java
Mobile Internet Best Practices
Mobile Internet Best Practices
Introduction to Mobile Internet
Introduction to Mobile Internet
Linux, PHP, SMS - USSD Examination
Linux, PHP, SMS - USSD Examination
Work Injury Benefits Act 2007
Work Injury Benefits Act 2007
Tax KRA Compliance Certificate
Tax KRA Compliance Certificate
Tawi Staff Handbook 2015
Tawi Staff Handbook 2015
Tawi Nairobi City County License 2015
Tawi Nairobi City County License 2015
Tawi NSSF Registration
Tawi NSSF Registration
Tawi tax KRA Certificate
Tawi tax KRA Certificate
Tawi FKE Certificate of Membership 2014
Tawi FKE Certificate of Membership 2014
Tawi Fire Clearance Certificate 2015
Tawi Fire Clearance Certificate 2015
Tawi Customer Onboarding Process
Tawi Customer Onboarding Process
Tawi CA CSP License 2014-2015
Tawi CA CSP License 2014-2015
Dernier
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
KayeClaireEstoconing
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
Humphrey A Beña
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
TechSoup
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
Seán Kennedy
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
Nguyen Thanh Tu Collection
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
mary850239
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
VanesaIglesias10
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
Ashokrao Mane college of Pharmacy Peth-Vadgaon
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
iammrhaywood
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
Celine George
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
Celine George
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Carlos105
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
Rosabel UA
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
JoshuaGantuangco2
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
Conquiztadors- the Quiz Society of Sri Venkateswara College
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
navabharathschool99
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
cama23
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
Conquiztadors- the Quiz Society of Sri Venkateswara College
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Celine George
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
iammrhaywood
Dernier
(20)
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
Brief on Device Awareness and Content Adaptation
1.
Mobile Website Development Brief
on Device Awareness & Content Adaptation Facilitated by: Michael Wakahe Tawi Commercial Services Ltd July 2011
2.
Table of Contents
XHTML MP CSS JSP Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
3.
XHTML MP Copyright ©
Tawi Commercial Services Ltd. 2015. All Rights Reserved.
4.
WURFL XHTML MP
= XHTML Mobile Profile XHTML uses the tag set of HTML and enforces the rigorous syntax requirements of XML XHTML-MP is currently considered the de facto standard language for Mobile Web development Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
5.
XHTML MP XHTML
1.0 Reference (not XHTML MP 1.0): http://www.w3.org/TR/2000/REC-xhtml1-20000126/ • XHTML MP 1.0 Document Type Definition (DTD): http://www.wapforum.org/DTD/xhtml-mobile10.dtd Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
6.
XHTML MP <?xml version="1.0"
encoding="UTF-8"?> <!-- XML Declaration, above. XHTML-MP is XML.--> <!-- DOCTYPE declaring that this document is XHTML-MP. --> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <!-- The rest of this document looks a lot like desktop HTML. --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- Externally Linked Stylesheet--> <!-- <link rel="stylesheet" href=“css/style1.css" type="text/css" /> --> <title>Annotated XHTML Example</title> </head> <body> <div class="hdr">Annotated XHTML Example</div> </body> </html> Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
7.
XHTML MP XHTML Element
Reason for Exclusion frame, frameset, iframe, noframes Frames have significant browser memory requirements, including new DOM instances. Frames are not usable on small screens. applet Java applets are not supported in mobile browsers or natively on mobile devices. Java SE is not supported on mobile devices. area, map Image maps are not supported nor easy to use on mobile devices. basefont Specify default font styles using CSS. XHTML Elements Unsupported in XHTML-MP Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
8.
XHTML MP XHTML Element
Reason for Exclusion bdo Bidirectional text is not supported. button Use <input type="submit"> for push buttons. center Use CSS to align page elements. col, colgroup Only basic tables are supported. See the next section for details. del, ins, s, strike Use CSS to style text to appear as deleted from, inserted into, or struck from the document. dir, menu Use CSS to style text to appear as directory or menu lists. font Use CSS to specify font styles. legend Basic forms are supported. Legends are not supported in fieldsets. noscript, script Supported only in XHTML-MP 1.1 and later. Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
9.
XHTML MP XHTML Element
Reason for Exclusion sub, sup Mobile devices provide limited fonts. Subscripts and superscripts are supported. tbody, tfoot, thead Basic tables are supported. Grouping table header, body and footer elements is not supported. tt Use CSS to style text to appear as teletype text. u Underlining is a universal indicator of link labels. Underlined text that is not a link is not usable on small screens and strongly discouraged. However, if underlining is absolutely required, it may be accomplished using the text-decoration: underline; CSS directive. xmp Use CSS or the pre element to style text to appear preformatted. Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
10.
XHTML MP The
tel: URI schemes allow mobile users to click a link to initiate a phone call. Format of a tel: URI is tel:<phone number> Example: Call <a href="tel:+254-722–321- 1212">+254-722–321-1212</a> for Information Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
11.
XHTML MP The
wtai: scheme is used to initiate phone calls and add contact phone numbers to the mobile device’s address book Uses a different URI format for each task Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
12.
XHTML MP Format
for initiating a phone call from the mobile device: wtai://wp/mc;<phone number> To add a contact into the mobile address book: wtai://wp/ap;<phone number>;<name> Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
13.
XHTML MP Examples: Call
<a href="wtai://wp/mc;+254728321987">+254-728– 321-1987</a> for Information <a ref="wtai://wp/ap;+254728321987;Information">Add to Address Book</a> Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
14.
XHTML MP XHTML-MP
1.1 adds support for the <script> and <noscript> tags The markup snippet below imports an external JavaScript file into an XHTML-MP document: <script type="text/javascript" src="js/library.js" /> Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
15.
XHTML MP An
example of a JavaScript function declared inline in a XHTML-MP 1.1 document: <script type="text/javascript"> function handleOnClick() { // Get the new image URL var newSrc = "img/michael_icon.png"; // Update the image URL document.getElementById("theImg").src = newSrc; } </script> Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
16.
XHTML MP Below,
an XHTML-MP image tag associates the inline JavaScript function above with its onclick event: <img id="theImg" src="/logo.png"width="140" height="50" alt="Logo“ onclick=“handleOnClick();"/> The MIME type text/javascript must be used to identify JavaScript and ECMAScript MP in XHTML-MP 1.1 markup documents. XHTML-MP 1.2 is a new standard, adopted in March 2008 Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
17.
XHTML MP Other
topics in XHTML MP (see examples): Forms, Tables, Links and Access Keys Many examples at the following link: http://www.developershome.com/wap/xhtmlmp Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
18.
CSS Copyright © Tawi
Commercial Services Ltd. 2015. All Rights Reserved.
19.
Wireless CSS /* This is
a Wireless CSS file. */ h1 { color: blue } p { font-style: italic } Sample Wireless CSS Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
20.
Wireless CSS CSS
= Cascading Style Sheets Used to define presentation including layouts, colours & fonts Can use either Wireless CSS or CSS Mobile Profile Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
21.
Wireless CSS Both
mobile CSS subsets support core CSS syntax and properties including selectors, inheritance, the box model, shorthand properties, generic font families, and absolute and relative font sizes. Both mobile dialects comply with existing CSS syntax standards and can be validated with a CSS validator. Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
22.
Wireless CSS A
CSS statement is consisted of a selector, a property, and a property value: selector {property: property_value} Example: p {text-align: right} Multiple properties are separated with a semicolon: selector {property1: property_value1; property2: property_value2; ... propertyN: property_valueN} Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
23.
Wireless CSS Example
of multiple properties: p {text-align: right; color: blue} Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
24.
Wireless CSS CSS
Mobile Profile 1.0 Specification: http://www.w3.org/TR/2002/CR-css-mobile-20020725 CSS 2 Specification: http://www.w3.org/TR/2008/REC-CSS2-20080411/ Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
25.
JSP and Servlets Copyright ©
Tawi Commercial Services Ltd. 2015. All Rights Reserved.
26.
XHTML MP You
can also introduce JSP and servlet technology to XHTML MP similar to the way we did it in WML. Remember to save files as .jsp as well as to specify the MIME type: application/vnd.wap.xhtml+xml Sample in next slide Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
27.
XHTML MP <?xml version="1.0"
encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <% response.setContentType("application/vnd.wap.xhtml+xml;charset=UTF-8"); %> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- <link rel="stylesheet" href="css/style1.css" type="text/css" /> --> <title>Annotated XHTML Example</title> </head> <body> <p>An XHTML JSP Example</p> <% out.println("<p>My name is Michael</p>"); %> </body> </html> Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
28.
The End Michael Wakahe E-mail:
michael@tawi.mobi Phone: +254 (0) 20 239 3052 Website: www.tawi.mobi Copyright © Tawi Commercial Services Ltd. 2015. All Rights Reserved.
Télécharger maintenant