1. 超文本标记语言(HTML):
超文本标记语言 (HTML) 是指用于创建网页的标准标记语言。它由一系列元素/标签组成,用于定义您的内容结构意味着设计网页的结构。它的创建是为了向台式计算机提供内容。 HTML 可以借助级联样式表 (CSS) 等技术和 JavaScript 等脚本语言来辅助。
HTML 的优点:
- HTML 易于使用和理解。
- 所有浏览器都支持 HTML。
- 它可以与其他语言集成。
- 它是免费且用户友好的。
2.无线标记语言(WML):
基于 XML 的无线标记语言 (WML) 是指第一种用于实现无线应用协议 (WAP) 规范的设备的标记语言,意味着应用于无线设备,即蜂窝电话、PDA。它以前称为手持设备标记语言 (HDML)。它可以做的事情非常有限,即使与 HTML 相比,它的标签数量也更少。
WML 的优点:
- WML 很容易使用也很容易理解。
- 传输 WML 文档需要较少的带宽。
- 显示 WML 文档需要较少的处理能力。
- 它支持有限灰度的有限图形。
HTML 和 WML 的区别:
S.No. | HTML | WML |
---|---|---|
01. | HTML refers to Hyper Text Markup Language. | WML refers to Wireless Markup Language. |
02. | HTML is the markup language for wired communication. | WML is the markup language for wireless communication. |
03. | It does not use variable. | It makes use of variables. |
04. | HTML is applied for desktop computers. | WML is applied for wireless devices i.e. cellular phones, PDAs. |
05. | Content is integrated with presentation. | Content separates from presentation. |
06. | JavaScript is embedded in the same HTML file. | WML scripts stored in separate file. |
07. | In HTML images are stored as GIF, JPEG or PNG. | In WML images are stored in WBMP. |
08. | It is not case sensitive. | It is case sensitive. |
09. | Set of HTML pages makes a site. | Set of WML cards makes a Deck. |
10. | It has more tags as compared to WML. | It has fewer tags as compared to HTML. |
11. | For transmission of HTML documents requires more bandwidth as compared to WML. | For transmission of WML documents requires less bandwidth as compared to HTML. |
11. | Displaying HTML documents requires more processing power than WML. | Displaying WML documents requires less processing power than HTML. |