SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
Wireless Markup
Language.
Introduction
• Wireless markup language is based on XML derived from xhtml,
is a markup language intended for WAP devices such as mobile
phones.
• It provides navigational support, data input, hyperlinks, text and
image presentation, and forms, much like HTML.
• It is a part of WAP(Wireless Application Protocol).
• The role of WML in mobile Internet applications is the same as
that of HTML in web applications. WAP sites are written in WML,
while web sites are written in HTML.WAP sites can also be
opened in pc just we have to install plugins for our browser.
• WML files have the extension “.wml”.
Difference between WML
and HTML
WML HTML
Makes use of variables Does not use variables
WML script stored in a separate
file
Javascript is embedded in the
same HTML file
Images stored as WBMP Images are stored as GIF, JPEG or
PNG
WBMP is a 2 bit image Size of the images are much
larger in HTML
Case sensitive Not case sensitive
WML has fewer tags than HTML HTML has more tags than WML
A set of 'WML Cards' make a
'DECK'
A set of 'HTML pages' make a
'SITE'
Wml advantages
• very easy to use and understand.
• Transmission of WML documents requires
less bandwidth than HTML documents
because WML documents are simpler and
WML is compressed before it is sent to the
WAP device.
• Compared to HTML documents, displaying
WML documents requires less processing
power and memory.
• WML provides support for limited graphics
with a limited gray scale
WML limitations
• Like HTML, WML does specify how the content is to be
displayed. Thus micro browsers on different WAP devices
display the WML content differently.
• WAP devices such as WAP phones will not accept large
decks.
• There are many variations between WAP phones, for
example Screen sizes, keypads, and soft keys can be
different .This variation is similar to the variation found
with Web browsers and their platforms .The problem is
harder in case of WML because there are many more WAP
devices than Web browsers and their platforms.
How wap works?
Introduction to WML
tags/elements
• 1)deck and card elements
WML elements purpose
<!--> Defines a WML comment
<wml> Defines a WML deck (WML root)
<head> Defines head information
<meta> Defines meta information
<card> Defines a card in a deck
<access> Defines information about the
access control of a deck
<template> Defines a code template for all the
cards in a deck
• 2)text elements
• 3)anchor elements
<br> Defines a line break
<p> Defines a paragraph
<table> Defines a table
<tr> Defines a table cell (table data)
<td> Defines a table row
<pre> Defines preformatted text
<a> Defines an anchor
<anchor> Defines an anchor
• 4)text formatting tags
• 5)variable elements
<b> Defines bold text
<big> Defines big text
<em> Defines emphasized text
<i> Defines italic text
<small> Defines small text
<strong> Defines strong text
<u> Defines underlined text
<setvar> Defines and sets a variable
<timer> Defines a timer
• 6)event elements
• 7)image elements
<do> Defines a do event handler
<onevent> Defines an onevent event
handler
<postfield> Defines a postfield event
handler
<ontimer> Defines an ontimer event
handler
<onenterforward> Defines an onenterforward
handler
<onenterbackword> Defines an onenterbackward
handler
<onpick> Defines an onpick event handler
<img> Defines an image
• 8)task elements
• 9)input elements
<go> Represents the action of
switching to a new card
<noop> Says that nothing should be
done
<prev> Represents the action of going
back to the previous card
<refresh> Refreshes some specified card
variables.
<input> Defines an input field
<select> Defines a select group
<option> Defines an option in a
selectable list
<fieldset> Defines a set of input fields
<optgroup> Defines an option group in a
selectable list
WML decks and cards
• A WAP site is composed of WML files.
• Each WML file is also called as deck.
• Each deck is made up of cards.
• Each card contains content that you want to
display on the screen.
• Only one card is displayed at time.
• First card is displayed first by default.
WML document structure
Prolog:
• Every WML document starts with the prolog.
• The first line is the XML declaration and the second line is the DOCTYPE
declaration.
• The DOCTYPE declaration specifies the name of the DTD (Document Type
Definition) and the URL to the DTD.
• The DTD contains information about the syntax of the markup language.
• It defines what elements and attributes can be used in the markup and the
rules that they should be used.
• For example, the DTD of WML specifies that the <card> element should be
enclosed in the <wml></wml> tag pair.
• If we do not follow this rule, your WML document is said to be invalid. WAP
browsers will complain if you try to view an invalid WML document.
Basic WML deck structure
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
"http://www.wapforum.org/DTD/wml13.dtd/wml_1.1.xml">
<wml>
<card id=”card1”>
….
</card>
<card id=”card2”>….
</card>
</wml>
Example
• <?xml version="1.0"?><!DOCTYPE wml PUBLIC "-
//WAPFORUM//DTD WML
1.2//EN""http://www.wapforum.org/DTD/wml12
.dt>
• <wml>
• <card id="one" title="First Card">
• <p>This is the first card in the deck </p></card>
• <card id="two" title="Second Card">
• <p>This is the second card in the deck</p>
• </card>
• </wml>
Output of above example
• When we press right button then second card
will be visible as follows:

Weitere ähnliche Inhalte

Was ist angesagt?

Challenge Response Authentication
Challenge Response Authentication Challenge Response Authentication
Challenge Response Authentication AzaharulIslamAsik
 
TOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptTOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptshanthishyam
 
Gsm radio-interface
Gsm radio-interfaceGsm radio-interface
Gsm radio-interfaceMustaf Mohamed
 
Collision & broadcast domain
Collision & broadcast domainCollision & broadcast domain
Collision & broadcast domainNetProtocol Xpert
 
ASYNCHRONOUS TRANSFER MODE (ATM)
ASYNCHRONOUS TRANSFER MODE (ATM)ASYNCHRONOUS TRANSFER MODE (ATM)
ASYNCHRONOUS TRANSFER MODE (ATM)ZillayHuma Mehmood
 
Subnetting supernetting
Subnetting supernettingSubnetting supernetting
Subnetting supernettingwacasr12
 
TCP over wireless slides
TCP over wireless slidesTCP over wireless slides
TCP over wireless slidesMahesh Rajawat
 
Asynchronous transfer mode (atm)
Asynchronous transfer mode (atm)Asynchronous transfer mode (atm)
Asynchronous transfer mode (atm)Sajan Sahu
 
Secure electronic transactions (SET)
Secure electronic transactions (SET)Secure electronic transactions (SET)
Secure electronic transactions (SET)Omar Ghazi
 
secure electronics transaction
secure electronics transactionsecure electronics transaction
secure electronics transactionHarsh Mehta
 
Mac protocols of adhoc network
Mac protocols of adhoc networkMac protocols of adhoc network
Mac protocols of adhoc networkshashi712
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocaltes31
 
Subnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesSubnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesKrishna Mohan
 
Set Secure Electronic Transaction (SET)
Set Secure Electronic Transaction(SET)Set Secure Electronic Transaction(SET)
Set Secure Electronic Transaction (SET)Suraj Dhalwar
 
Networking and Internetworking Devices
Networking and Internetworking DevicesNetworking and Internetworking Devices
Networking and Internetworking Devices21viveksingh
 
WAN Technologies slide show
WAN Technologies slide showWAN Technologies slide show
WAN Technologies slide showNavleshKumar singh
 
Transport Layer Security
Transport Layer SecurityTransport Layer Security
Transport Layer SecurityChhatra Thapa
 

Was ist angesagt? (20)

Challenge Response Authentication
Challenge Response Authentication Challenge Response Authentication
Challenge Response Authentication
 
TOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptTOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.ppt
 
Gsm radio-interface
Gsm radio-interfaceGsm radio-interface
Gsm radio-interface
 
Collision & broadcast domain
Collision & broadcast domainCollision & broadcast domain
Collision & broadcast domain
 
ASYNCHRONOUS TRANSFER MODE (ATM)
ASYNCHRONOUS TRANSFER MODE (ATM)ASYNCHRONOUS TRANSFER MODE (ATM)
ASYNCHRONOUS TRANSFER MODE (ATM)
 
Subnetting supernetting
Subnetting supernettingSubnetting supernetting
Subnetting supernetting
 
TCP over wireless slides
TCP over wireless slidesTCP over wireless slides
TCP over wireless slides
 
Asynchronous transfer mode (atm)
Asynchronous transfer mode (atm)Asynchronous transfer mode (atm)
Asynchronous transfer mode (atm)
 
Secure electronic transactions (SET)
Secure electronic transactions (SET)Secure electronic transactions (SET)
Secure electronic transactions (SET)
 
secure electronics transaction
secure electronics transactionsecure electronics transaction
secure electronics transaction
 
Mac protocols of adhoc network
Mac protocols of adhoc networkMac protocols of adhoc network
Mac protocols of adhoc network
 
X.25
X.25X.25
X.25
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
Subnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesSubnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examples
 
Set Secure Electronic Transaction (SET)
Set Secure Electronic Transaction(SET)Set Secure Electronic Transaction(SET)
Set Secure Electronic Transaction (SET)
 
Ch2
Ch2Ch2
Ch2
 
Networking and Internetworking Devices
Networking and Internetworking DevicesNetworking and Internetworking Devices
Networking and Internetworking Devices
 
Gsm call routing
Gsm call routingGsm call routing
Gsm call routing
 
WAN Technologies slide show
WAN Technologies slide showWAN Technologies slide show
WAN Technologies slide show
 
Transport Layer Security
Transport Layer SecurityTransport Layer Security
Transport Layer Security
 

Andere mochten auch

Wireless Markup Language
Wireless Markup LanguageWireless Markup Language
Wireless Markup LanguageHitesh Piprotar
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti kattaSenthil Kanth
 
Bt0087 wml and wap programing2
Bt0087 wml and wap programing2Bt0087 wml and wap programing2
Bt0087 wml and wap programing2Techglyphs
 
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEEXML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEESenthil Kanth
 
Mobile Computing UNIT-8
Mobile Computing UNIT-8Mobile Computing UNIT-8
Mobile Computing UNIT-8Ramesh Babu
 
Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18Bit Hacker
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentationRamyaRavi26
 
B spline surfeces
B spline surfecesB spline surfeces
B spline surfecesramac123
 
Bezier curve computer graphics
Bezier curve computer graphicsBezier curve computer graphics
Bezier curve computer graphicsUniversity of Potsdam
 
Face morphing
Face morphingFace morphing
Face morphingAkhil Kumar
 
B spline
B splineB spline
B splineaa11bb11
 

Andere mochten auch (20)

Wireless Markup Language
Wireless Markup LanguageWireless Markup Language
Wireless Markup Language
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti katta
 
Bt0087 wml and wap programing2
Bt0087 wml and wap programing2Bt0087 wml and wap programing2
Bt0087 wml and wap programing2
 
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEEXML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
 
Wml
WmlWml
Wml
 
Mobile Communication
Mobile CommunicationMobile Communication
Mobile Communication
 
Wap wml
Wap wmlWap wml
Wap wml
 
Wap ppt
Wap pptWap ppt
Wap ppt
 
Wap & WML
Wap & WMLWap & WML
Wap & WML
 
Wap
WapWap
Wap
 
Hiperlan
HiperlanHiperlan
Hiperlan
 
Mobile Computing UNIT-8
Mobile Computing UNIT-8Mobile Computing UNIT-8
Mobile Computing UNIT-8
 
Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18
 
Lect4
Lect4Lect4
Lect4
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentation
 
B spline surfeces
B spline surfecesB spline surfeces
B spline surfeces
 
Bezier curve computer graphics
Bezier curve computer graphicsBezier curve computer graphics
Bezier curve computer graphics
 
Types of projections
Types of projectionsTypes of projections
Types of projections
 
Face morphing
Face morphingFace morphing
Face morphing
 
B spline
B splineB spline
B spline
 

Ă„hnlich wie ITFT_Wireless markup language

Wireless languages and content generation technologies
Wireless languages and content generation technologiesWireless languages and content generation technologies
Wireless languages and content generation technologiesSuveeksha
 
Wireless Application Protocol
Wireless Application ProtocolWireless Application Protocol
Wireless Application ProtocolNyi Tun
 
Unit 4 - HTTP and the Web Services - IT
Unit 4 - HTTP and the Web Services - ITUnit 4 - HTTP and the Web Services - IT
Unit 4 - HTTP and the Web Services - ITDeepraj Bhujel
 
transcoding.ppt
transcoding.ppttranscoding.ppt
transcoding.pptVideoguy
 
Survey of WML
Survey of  WMLSurvey of  WML
Survey of WMLtawi123
 
Web Services Part 1
Web Services Part 1Web Services Part 1
Web Services Part 1patinijava
 
Wap architecture and wml script
Wap architecture and wml scriptWap architecture and wml script
Wap architecture and wml scriptishmecse13
 
Bt0087 wml and wap programing1
Bt0087 wml and wap programing1Bt0087 wml and wap programing1
Bt0087 wml and wap programing1Techglyphs
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XMLVijay Mishra
 
Web services Overview in depth
Web services Overview in depthWeb services Overview in depth
Web services Overview in depthAbdulImrankhan7
 
Mobile Business
Mobile BusinessMobile Business
Mobile Businessdoba2007
 

Ă„hnlich wie ITFT_Wireless markup language (20)

Wireless languages and content generation technologies
Wireless languages and content generation technologiesWireless languages and content generation technologies
Wireless languages and content generation technologies
 
Wap
WapWap
Wap
 
Wireless Application Protocol
Wireless Application ProtocolWireless Application Protocol
Wireless Application Protocol
 
XML-talk
XML-talkXML-talk
XML-talk
 
Unit 4 - HTTP and the Web Services - IT
Unit 4 - HTTP and the Web Services - ITUnit 4 - HTTP and the Web Services - IT
Unit 4 - HTTP and the Web Services - IT
 
Mwml
MwmlMwml
Mwml
 
Introduction to XML.ppt
Introduction to XML.pptIntroduction to XML.ppt
Introduction to XML.ppt
 
Introduction to XML.ppt
Introduction to XML.pptIntroduction to XML.ppt
Introduction to XML.ppt
 
transcoding.ppt
transcoding.ppttranscoding.ppt
transcoding.ppt
 
Survey of WML
Survey of  WMLSurvey of  WML
Survey of WML
 
Web Services Part 1
Web Services Part 1Web Services Part 1
Web Services Part 1
 
Wap architecture and wml script
Wap architecture and wml scriptWap architecture and wml script
Wap architecture and wml script
 
8023.ppt
8023.ppt8023.ppt
8023.ppt
 
Bt0087 wml and wap programing1
Bt0087 wml and wap programing1Bt0087 wml and wap programing1
Bt0087 wml and wap programing1
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml schema
Xml schemaXml schema
Xml schema
 
Xmll
XmllXmll
Xmll
 
What is WAP?
What is WAP?What is WAP?
What is WAP?
 
Web services Overview in depth
Web services Overview in depthWeb services Overview in depth
Web services Overview in depth
 
Mobile Business
Mobile BusinessMobile Business
Mobile Business
 

Mehr von Shilpa Sharma

ITFT_Wireless network
ITFT_Wireless networkITFT_Wireless network
ITFT_Wireless networkShilpa Sharma
 
ITFT_Micro browser
ITFT_Micro browserITFT_Micro browser
ITFT_Micro browserShilpa Sharma
 
ITFT_Introduction to microprocessor
ITFT_Introduction to microprocessorITFT_Introduction to microprocessor
ITFT_Introduction to microprocessorShilpa Sharma
 
ITFT_Introduction of mis
ITFT_Introduction of misITFT_Introduction of mis
ITFT_Introduction of misShilpa Sharma
 
ITFT_Interrupt
ITFT_InterruptITFT_Interrupt
ITFT_InterruptShilpa Sharma
 
ITFT_Decision support System
ITFT_Decision support SystemITFT_Decision support System
ITFT_Decision support SystemShilpa Sharma
 
ITFT_Clock generator
ITFT_Clock generatorITFT_Clock generator
ITFT_Clock generatorShilpa Sharma
 
ITFT_Architecture of 8085
 ITFT_Architecture of 8085 ITFT_Architecture of 8085
ITFT_Architecture of 8085Shilpa Sharma
 

Mehr von Shilpa Sharma (9)

ITFT_Wireless network
ITFT_Wireless networkITFT_Wireless network
ITFT_Wireless network
 
ITFT_Risc
ITFT_RiscITFT_Risc
ITFT_Risc
 
ITFT_Micro browser
ITFT_Micro browserITFT_Micro browser
ITFT_Micro browser
 
ITFT_Introduction to microprocessor
ITFT_Introduction to microprocessorITFT_Introduction to microprocessor
ITFT_Introduction to microprocessor
 
ITFT_Introduction of mis
ITFT_Introduction of misITFT_Introduction of mis
ITFT_Introduction of mis
 
ITFT_Interrupt
ITFT_InterruptITFT_Interrupt
ITFT_Interrupt
 
ITFT_Decision support System
ITFT_Decision support SystemITFT_Decision support System
ITFT_Decision support System
 
ITFT_Clock generator
ITFT_Clock generatorITFT_Clock generator
ITFT_Clock generator
 
ITFT_Architecture of 8085
 ITFT_Architecture of 8085 ITFT_Architecture of 8085
ITFT_Architecture of 8085
 

KĂĽrzlich hochgeladen

ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

KĂĽrzlich hochgeladen (20)

ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

ITFT_Wireless markup language

  • 2. Introduction • Wireless markup language is based on XML derived from xhtml, is a markup language intended for WAP devices such as mobile phones. • It provides navigational support, data input, hyperlinks, text and image presentation, and forms, much like HTML. • It is a part of WAP(Wireless Application Protocol). • The role of WML in mobile Internet applications is the same as that of HTML in web applications. WAP sites are written in WML, while web sites are written in HTML.WAP sites can also be opened in pc just we have to install plugins for our browser. • WML files have the extension “.wml”.
  • 3. Difference between WML and HTML WML HTML Makes use of variables Does not use variables WML script stored in a separate file Javascript is embedded in the same HTML file Images stored as WBMP Images are stored as GIF, JPEG or PNG WBMP is a 2 bit image Size of the images are much larger in HTML Case sensitive Not case sensitive WML has fewer tags than HTML HTML has more tags than WML A set of 'WML Cards' make a 'DECK' A set of 'HTML pages' make a 'SITE'
  • 4. Wml advantages • very easy to use and understand. • Transmission of WML documents requires less bandwidth than HTML documents because WML documents are simpler and WML is compressed before it is sent to the WAP device. • Compared to HTML documents, displaying WML documents requires less processing power and memory. • WML provides support for limited graphics with a limited gray scale
  • 5. WML limitations • Like HTML, WML does specify how the content is to be displayed. Thus micro browsers on different WAP devices display the WML content differently. • WAP devices such as WAP phones will not accept large decks. • There are many variations between WAP phones, for example Screen sizes, keypads, and soft keys can be different .This variation is similar to the variation found with Web browsers and their platforms .The problem is harder in case of WML because there are many more WAP devices than Web browsers and their platforms.
  • 7. Introduction to WML tags/elements • 1)deck and card elements WML elements purpose <!--> Defines a WML comment <wml> Defines a WML deck (WML root) <head> Defines head information <meta> Defines meta information <card> Defines a card in a deck <access> Defines information about the access control of a deck <template> Defines a code template for all the cards in a deck
  • 8. • 2)text elements • 3)anchor elements <br> Defines a line break <p> Defines a paragraph <table> Defines a table <tr> Defines a table cell (table data) <td> Defines a table row <pre> Defines preformatted text <a> Defines an anchor <anchor> Defines an anchor
  • 9. • 4)text formatting tags • 5)variable elements <b> Defines bold text <big> Defines big text <em> Defines emphasized text <i> Defines italic text <small> Defines small text <strong> Defines strong text <u> Defines underlined text <setvar> Defines and sets a variable <timer> Defines a timer
  • 10. • 6)event elements • 7)image elements <do> Defines a do event handler <onevent> Defines an onevent event handler <postfield> Defines a postfield event handler <ontimer> Defines an ontimer event handler <onenterforward> Defines an onenterforward handler <onenterbackword> Defines an onenterbackward handler <onpick> Defines an onpick event handler <img> Defines an image
  • 11. • 8)task elements • 9)input elements <go> Represents the action of switching to a new card <noop> Says that nothing should be done <prev> Represents the action of going back to the previous card <refresh> Refreshes some specified card variables. <input> Defines an input field <select> Defines a select group <option> Defines an option in a selectable list <fieldset> Defines a set of input fields <optgroup> Defines an option group in a selectable list
  • 12. WML decks and cards • A WAP site is composed of WML files. • Each WML file is also called as deck. • Each deck is made up of cards. • Each card contains content that you want to display on the screen. • Only one card is displayed at time. • First card is displayed first by default.
  • 13. WML document structure Prolog: • Every WML document starts with the prolog. • The first line is the XML declaration and the second line is the DOCTYPE declaration. • The DOCTYPE declaration specifies the name of the DTD (Document Type Definition) and the URL to the DTD. • The DTD contains information about the syntax of the markup language. • It defines what elements and attributes can be used in the markup and the rules that they should be used. • For example, the DTD of WML specifies that the <card> element should be enclosed in the <wml></wml> tag pair. • If we do not follow this rule, your WML document is said to be invalid. WAP browsers will complain if you try to view an invalid WML document.
  • 14. Basic WML deck structure <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd/wml_1.1.xml"> <wml> <card id=”card1”> …. </card> <card id=”card2”>…. </card> </wml>
  • 15. Example • <?xml version="1.0"?><!DOCTYPE wml PUBLIC "- //WAPFORUM//DTD WML 1.2//EN""http://www.wapforum.org/DTD/wml12 .dt> • <wml> • <card id="one" title="First Card"> • <p>This is the first card in the deck </p></card> • <card id="two" title="Second Card"> • <p>This is the second card in the deck</p> • </card> • </wml>
  • 16. Output of above example • When we press right button then second card will be visible as follows: