SlideShare a Scribd company logo
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:

More Related Content

What's hot

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
MayaLisa
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language
Ann Joseph
 
XSLT
XSLTXSLT
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3Sudharsan S
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
Pankaj Bajaj
 
Static and Dynamic webpage
Static and Dynamic webpageStatic and Dynamic webpage
Static and Dynamic webpage
Aishwarya Pallai
 
Dynamic Web
Dynamic WebDynamic Web
Dynamic Web
Dave Wallace
 
Xml schema
Xml schemaXml schema
Xml schema
Akshaya Akshaya
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
Bikash chhetri
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
eShikshak
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XMLyht4ever
 
Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
Harshita Yadav
 
Xml schema
Xml schemaXml schema
Xml schema
Prabhakaran V M
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
Vijay Mishra
 
Xslt elements
Xslt elementsXslt elements
Xslt elements
Sindhu VL
 

What's hot (20)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language
 
XSLT
XSLTXSLT
XSLT
 
Html frames
Html framesHtml frames
Html frames
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
 
XML
XMLXML
XML
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
 
Static and Dynamic webpage
Static and Dynamic webpageStatic and Dynamic webpage
Static and Dynamic webpage
 
Dynamic Web
Dynamic WebDynamic Web
Dynamic Web
 
Json
JsonJson
Json
 
Xml schema
Xml schemaXml schema
Xml schema
 
Web Services - WSDL
Web Services - WSDLWeb Services - WSDL
Web Services - WSDL
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
Xpath presentation
Xpath presentationXpath presentation
Xpath presentation
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
 
Xml schema
Xml schemaXml schema
Xml schema
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xslt elements
Xslt elementsXslt elements
Xslt elements
 

Viewers also liked

Wireless Markup Language
Wireless Markup LanguageWireless Markup Language
Wireless Markup Language
Hitesh Piprotar
 
Wireless Markup Language,wml,mobile computing
Wireless Markup Language,wml,mobile computingWireless Markup Language,wml,mobile computing
Wireless Markup Language,wml,mobile computing
Subhashini Sundaram
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti katta
Senthil Kanth
 
WML-Tutorial
WML-TutorialWML-Tutorial
WML-TutorialOPENLANE
 
Bt0087 wml and wap programing2
Bt0087 wml and wap programing2Bt0087 wml and wap programing2
Bt0087 wml and wap programing2
Techglyphs
 
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
Senthil Kanth
 
Mobile Communication
Mobile CommunicationMobile Communication
Mobile Communication
Kathirvel Ayyaswamy
 
Wap wml
Wap wmlWap wml
Wap wml
ishmecse13
 
Wap ppt
Wap pptWap ppt
Wap ppt
Abhijit Nath
 
Wap & WML
Wap & WMLWap & WML
Wap
WapWap
Mobile Computing UNIT-8
Mobile Computing UNIT-8Mobile Computing UNIT-8
Mobile Computing UNIT-8
Ramesh Babu
 
Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18Wireless & Mobile Lecture # 18
Wireless & Mobile Lecture # 18Bit Hacker
 
Lect4
Lect4Lect4
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 graphics
University of Potsdam
 
Types of projections
Types of projectionsTypes of projections
Types of projections
Muhammad Umair Akram
 

Viewers also liked (20)

Wireless Markup Language
Wireless Markup LanguageWireless Markup Language
Wireless Markup Language
 
Wireless Markup Language,wml,mobile computing
Wireless Markup Language,wml,mobile computingWireless Markup Language,wml,mobile computing
Wireless Markup Language,wml,mobile computing
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti katta
 
WML-Tutorial
WML-TutorialWML-Tutorial
WML-Tutorial
 
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
 

Similar to 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 technologies
Suveeksha
 
Wap
WapWap
Wireless Application Protocol
Wireless Application ProtocolWireless Application Protocol
Wireless Application Protocol
Nyi 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 - IT
Deepraj Bhujel
 
Introduction to XML.ppt
Introduction to XML.pptIntroduction to XML.ppt
Introduction to XML.ppt
Varsha Uchagaonkar
 
Introduction to XML.ppt
Introduction to XML.pptIntroduction to XML.ppt
Introduction to XML.ppt
Varsha Uchagaonkar
 
transcoding.ppt
transcoding.ppttranscoding.ppt
transcoding.pptVideoguy
 
Survey of WML
Survey of  WMLSurvey of  WML
Survey of WML
tawi123
 
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 script
ishmecse13
 
8023.ppt
8023.ppt8023.ppt
8023.ppt
PoojaTripathi92
 
Bt0087 wml and wap programing1
Bt0087 wml and wap programing1Bt0087 wml and wap programing1
Bt0087 wml and wap programing1
Techglyphs
 
What is WAP?
What is WAP?What is WAP?
What is WAP?
Senthil Kanth
 
Web services Overview in depth
Web services Overview in depthWeb services Overview in depth
Web services Overview in depth
AbdulImrankhan7
 
Mobile Business
Mobile BusinessMobile Business
Mobile Businessdoba2007
 
XML1.pptx
XML1.pptxXML1.pptx
00 introduction
00 introduction00 introduction
00 introduction
Baskarkncet
 

Similar to 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
 
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
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
00 introduction
00 introduction00 introduction
00 introduction
 

More from Shilpa Sharma

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

More from 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
 

Recently uploaded

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 

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: