SlideShare a Scribd company logo
1 of 18
Wireless Markup Language NAME:                  Hitesh Piprotar ROLL NO:            09bce054 GUIDE:                 Kriti Gupta
Flow Introduction  Flow of presentation WML-HTML differences WML advantages WML limitations How wap works? WML elements/tags Basic WML deck structure WML decks and cards
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 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
2)text elements 3)anchor elements
4)text formatting tags 5)variable elements
6)event elements 7)image elements
8)task elements 9)input elements
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 wepress right button then second card will be visible as follows:
Thank you

More Related Content

What's hot (20)

10. XML in DBMS
10. XML in DBMS10. XML in DBMS
10. XML in DBMS
 
Architecture of Mobile Computing
Architecture of Mobile ComputingArchitecture of Mobile Computing
Architecture of Mobile Computing
 
Mobile dbms
Mobile dbmsMobile dbms
Mobile dbms
 
Scheduling in Cloud Computing
Scheduling in Cloud ComputingScheduling in Cloud Computing
Scheduling in Cloud Computing
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Context model
Context modelContext model
Context model
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 
WML-Tutorial
WML-TutorialWML-Tutorial
WML-Tutorial
 
Telnet
TelnetTelnet
Telnet
 
WAP- Wireless Application Protocol
WAP- Wireless Application ProtocolWAP- Wireless Application Protocol
WAP- Wireless Application Protocol
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Keymanagement of ipsec
Keymanagement of ipsecKeymanagement of ipsec
Keymanagement of ipsec
 
Flow control in Computer Network
Flow control in Computer NetworkFlow control in Computer Network
Flow control in Computer Network
 
Network Protocol and TCP/IP
Network Protocol and TCP/IPNetwork Protocol and TCP/IP
Network Protocol and TCP/IP
 
IOT DATA MANAGEMENT AND COMPUTE STACK.pptx
IOT DATA MANAGEMENT AND COMPUTE STACK.pptxIOT DATA MANAGEMENT AND COMPUTE STACK.pptx
IOT DATA MANAGEMENT AND COMPUTE STACK.pptx
 
Two pass Assembler
Two pass AssemblerTwo pass Assembler
Two pass Assembler
 
Topic Packet switching
Topic Packet switchingTopic Packet switching
Topic Packet switching
 
Ppt 11 - netopeer
Ppt   11 - netopeerPpt   11 - netopeer
Ppt 11 - netopeer
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 
Domain specific IoT
Domain specific IoTDomain specific IoT
Domain specific IoT
 

Viewers also liked

ITFT_Wireless markup language
ITFT_Wireless markup languageITFT_Wireless markup language
ITFT_Wireless markup languageShilpa Sharma
 
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
 
Introduction To Wireless Fading Channels
Introduction To Wireless Fading ChannelsIntroduction To Wireless Fading Channels
Introduction To Wireless Fading ChannelsNitin Jain
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLMayaLisa
 
Web Search - Lecture 10 - Web Information Systems (4011474FNR)
Web Search - Lecture 10 - Web Information Systems (4011474FNR)Web Search - Lecture 10 - Web Information Systems (4011474FNR)
Web Search - Lecture 10 - Web Information Systems (4011474FNR)Beat Signer
 
Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionMustafa Kamel Mohammadi
 
How to Navigate Getting IPv4 Addresses in a Post Run Out World
How to Navigate Getting IPv4 Addresses in a Post Run Out WorldHow to Navigate Getting IPv4 Addresses in a Post Run Out World
How to Navigate Getting IPv4 Addresses in a Post Run Out WorldAPNIC
 
Challenges, Issues and Research directions in Optical Burst Switching
Challenges, Issues and Research directions in Optical Burst SwitchingChallenges, Issues and Research directions in Optical Burst Switching
Challenges, Issues and Research directions in Optical Burst SwitchingEditor IJCATR
 
Internet Number Resource Status Report
Internet Number Resource Status ReportInternet Number Resource Status Report
Internet Number Resource Status ReportAPNIC
 

Viewers also liked (20)

ITFT_Wireless markup language
ITFT_Wireless markup languageITFT_Wireless markup language
ITFT_Wireless markup language
 
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
 
Wap ppt
Wap pptWap ppt
Wap ppt
 
Introduction to Mobile Internet
Introduction to Mobile InternetIntroduction to Mobile Internet
Introduction to Mobile Internet
 
Wap & WML
Wap & WMLWap & WML
Wap & WML
 
Mobile Communication
Mobile CommunicationMobile Communication
Mobile Communication
 
Wap wml
Wap wmlWap wml
Wap wml
 
Mobile ip
Mobile ipMobile ip
Mobile ip
 
Introduction To Wireless Fading Channels
Introduction To Wireless Fading ChannelsIntroduction To Wireless Fading Channels
Introduction To Wireless Fading Channels
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Web Search - Lecture 10 - Web Information Systems (4011474FNR)
Web Search - Lecture 10 - Web Information Systems (4011474FNR)Web Search - Lecture 10 - Web Information Systems (4011474FNR)
Web Search - Lecture 10 - Web Information Systems (4011474FNR)
 
Cellular neural
Cellular  neuralCellular  neural
Cellular neural
 
Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introduction
 
OCT
OCTOCT
OCT
 
Wap
WapWap
Wap
 
How to Navigate Getting IPv4 Addresses in a Post Run Out World
How to Navigate Getting IPv4 Addresses in a Post Run Out WorldHow to Navigate Getting IPv4 Addresses in a Post Run Out World
How to Navigate Getting IPv4 Addresses in a Post Run Out World
 
Hiperlan
HiperlanHiperlan
Hiperlan
 
Challenges, Issues and Research directions in Optical Burst Switching
Challenges, Issues and Research directions in Optical Burst SwitchingChallenges, Issues and Research directions in Optical Burst Switching
Challenges, Issues and Research directions in Optical Burst Switching
 
Internet Number Resource Status Report
Internet Number Resource Status ReportInternet Number Resource Status Report
Internet Number Resource Status Report
 

Similar to 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
 
Web Services Part 1
Web Services Part 1Web Services Part 1
Web Services Part 1patinijava
 
Survey of WML
Survey of  WMLSurvey of  WML
Survey of WMLtawi123
 
transcoding.ppt
transcoding.ppttranscoding.ppt
transcoding.pptVideoguy
 
Wap architecture and wml script
Wap architecture and wml scriptWap architecture and wml script
Wap architecture and wml scriptishmecse13
 
Xml For Dummies Chapter 20 Ten Top Xml Applications
Xml For Dummies   Chapter 20 Ten Top Xml ApplicationsXml For Dummies   Chapter 20 Ten Top Xml Applications
Xml For Dummies Chapter 20 Ten Top Xml Applicationsphanleson
 
Web engineering notes unit 3
Web engineering notes unit 3Web engineering notes unit 3
Web engineering notes unit 3inshu1890
 

Similar to 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
 
Web Services Part 1
Web Services Part 1Web Services Part 1
Web Services Part 1
 
Survey of WML
Survey of  WMLSurvey of  WML
Survey of WML
 
01 Xml Begin
01 Xml Begin01 Xml Begin
01 Xml Begin
 
transcoding.ppt
transcoding.ppttranscoding.ppt
transcoding.ppt
 
Wap architecture and wml script
Wap architecture and wml scriptWap architecture and wml script
Wap architecture and wml script
 
WAP Technology
WAP TechnologyWAP Technology
WAP Technology
 
Xml description
Xml descriptionXml description
Xml description
 
XML-talk
XML-talkXML-talk
XML-talk
 
Xml
XmlXml
Xml
 
Xhtml
XhtmlXhtml
Xhtml
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
 
Wsdl1
Wsdl1Wsdl1
Wsdl1
 
Xml For Dummies Chapter 20 Ten Top Xml Applications
Xml For Dummies   Chapter 20 Ten Top Xml ApplicationsXml For Dummies   Chapter 20 Ten Top Xml Applications
Xml For Dummies Chapter 20 Ten Top Xml Applications
 
UNIT-1 Web services
UNIT-1 Web servicesUNIT-1 Web services
UNIT-1 Web services
 
Lecture16
Lecture16Lecture16
Lecture16
 
Web engineering notes unit 3
Web engineering notes unit 3Web engineering notes unit 3
Web engineering notes unit 3
 

Recently uploaded

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 

Recently uploaded (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 

Wireless Markup Language

  • 1. Wireless Markup Language NAME: Hitesh Piprotar ROLL NO: 09bce054 GUIDE: Kriti Gupta
  • 2. Flow Introduction Flow of presentation WML-HTML differences WML advantages WML limitations How wap works? WML elements/tags Basic WML deck structure WML decks and cards
  • 3. 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”.
  • 5. 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
  • 6. 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.
  • 8. Introduction to WML tags/elements 1)deck and card elements
  • 10. 4)text formatting tags 5)variable elements
  • 13. 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.
  • 14. 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.
  • 15. 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>
  • 16. 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>
  • 17. Output of above example When wepress right button then second card will be visible as follows: