COMPARISON BETWEEN HYPERTEXT MARKUP LANGUAGE AND EXTENSIBLE MARKUP LANGUAGE
JUBITHA.I Assistant Professor, Department Of Computer Science
Abstract Hypertext markup language is used to create document for World Wide Web. But the extensible marking language is enabling the user to store data to a structured format with user defined tags. In the HTML, tags are predefined one. There are lots of differences between the hypertext markup language and extensible markup language. Both the HTML and XML are platform independent language. We can use the HTML language for making the web pages more attractive on. The XML language can be used for more applications like EDI and E-commerce for data communications. This means data transfer between two trading partners. The main difference between the XML and HTML is, the hypertext markup language is used for presenting data in better way and the extensible markup language can be used for better data definition and information data description.
Keywords: Extensions of XML and HTML, Tags of XML and HTML, Advantages of XML and HTML, Applications of XML and HTML
Introduction The hypertext markup language can be creating with help of notepad. In the notepad, type the coding with the predefined tags and save that document in html extension. After that we can open the notepad in internet explorer. Like, the extensible markup language can be creating in notepad. This includes the user defined tags, then save the documents with xml extensions. Then open the document in internet explorer browser. Since, both these language makes more attractive web pages. Tags are the basic unit of the html of the html and xml language. With the help of these tags we can create our own document. There is wide variety of tags available in HTML but in XML according to the users with they can create their own prescribed program. In HTML and XML there is opening and closing tags can be used for the code. At the beginning of all code, we must use the opening tag and at last we close that code by closing tags. In html, the beginning of the start with the < HTML > tags but in the XML the starting is the processing instruction line which includes the XML version and encoding format of the XML. Apart from these there are some tags in html, were used for placing the text in center, paragraph and for displaying the text bold, italic and underline format. While, considering the XML there is no special tag like this html tags.
The hypertext markup language was mainly focus on how the data looks. But the extensible markup language is both hardware and software independent tool for store data and focus on the data. As far as we consider about both the HTML and XML are sensitive languages. The benefit of HTML is does not include the whitespace but the XML preserves that. Consider the HTML coding;
WORKING AS MANAGER IN WIPRO TECHNOLOGIES
This is an example of simple HTML document, here they all have the opening and corresponding closing tags. ,
,, are the predefined tags used for the coding. The is beginning tag for all the HTML documents it is sometimes called as opening tag and end with a closing tag called . Likewise, the tag is mandatory for the HTML document. The
The
tags are for display the data to be in bold ,underlined and in paragraph. And finally used for giving the font face for the documents. The “face” is the attribute of tag. Let us consider the XML coding; <--- EMPLOYEE DETAILS IS THE ROOT ELEMENT---->
In the above coding there are some predefined tags they are,
The
Conclusion From this, comparison of Hypertext Markup Language(HTML) and Extensible Markup Language(XML) there is lots of similarities and dissimilarities between them and HTML is better to use it have a structured format while compared to xml document.
References 1. Using Xml by J.David Eisenberg July 19,2002. 2. HTML and XML an introduction, NIIT prentice hall of India Pvt.ltd 3.World wide web Design with HTML,c.Xavier,2007,TMH.