<<

COMPARISON BETWEEN AND EXTENSIBLE MARKUP LANGUAGE

JUBITHA.I Assistant Professor, Department Of Computer Science

Abstract Hypertext markup language is used to create document for . 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 extension. After that we can open the notepad in explorer. Like, the extensible markup language can be creating in notepad. This includes the user defined tags, then save the documents with 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 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; MY BIODATA EVANA COIMBATORE

WORKING AS MANAGER IN WIPRO TECHNOLOGIES

This is an example of simple HTML document, here they all have the opening and corresponding closing tags. , ,,<B>,<U>,<P>,<FONT> are the predefined tags used for the coding. The <HTML> is beginning tag for all the HTML documents it is sometimes called as opening tag and end with a closing tag called </HTML>. Likewise, the <HEAD> tag is mandatory for the HTML document. The <TITLE> is used for give the title of the document. </p><p>The <BODY> tag used for giving the original content of the HTML.The <B>,<U>,<P> tags are for display the data to be in bold ,underlined and in paragraph. And finally <FONT> used for giving the font face for the documents. The “face” is the attribute of <FONT> tag. Let us consider the XML coding; <?xml version=”1.0”?> <--- EMPLOYEE DETAILS IS THE ROOT ELEMENT----> <EMPLOYEE DETAILS> <ENAME> AMALA</ENAME> <EADDRESS>COIMBATORE, TAMILNADU</EADDRESS> <EDESIGNATION>MANAGER </EDESIGNATION> <ESALARY> 300000</ESALARY> </EMPLOYEE DETAILS> </p><p>In the above coding there are some predefined tags they are, <EMPLOYEE DETAILS>, <ENAME>, <EADDRESS>, <EDESIGNATION>, <ESALARY>. </p><p>The <EMPLOYEE DETAILS> tag is used as the beginning tag for the XML document. It is user defined tag according to their XML coding. The <ENAME> tag is used to specify Employee name and the <EADDRESS> tag is to specify the employee’s address. Likewise, the <EDESIGNATION> and <ESALARY> used to specify the employee’s designation and salary. These all are the opening tag used for the coding with their corresponding closing tag also. And this <?xml version=”1.0”?> is the processing instruction line of the xml document and <- -- EMPLOYEE DETAILS IS THE ROOT ELEMENT----> this indicates that is comment line of that xml document. </p><p>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. </p><p>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 <a href="/tags/Web_design/" rel="tag">web Design</a> with HTML,c.Xavier,2007,TMH. </p> </div> </div> </div> </div> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js" integrity="sha512-aVKKRRi/Q/YV+4mjoKBsE4x3H+BkegoM/em46NNlCqNTmUYADjBbeNefNxYV7giUp0VxICtqdrbqU7iVaeZNXA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="/js/details118.16.js"></script> <script> var sc_project = 11552861; var sc_invisible = 1; var sc_security = "b956b151"; </script> <script src="https://www.statcounter.com/counter/counter.js" async></script> <noscript><div class="statcounter"><a title="Web Analytics" href="http://statcounter.com/" target="_blank"><img class="statcounter" src="//c.statcounter.com/11552861/0/b956b151/1/" alt="Web Analytics"></a></div></noscript> </body> </html>