Free Essay

Identify the Difference Between Xml and Html

In: Computers and Technology

Submitted By jmmjwash
Words 840
Pages 4
Identify the difference between XML and HTML.

ADVANCED WEB DEVELOPMENT
WEB/407
STEVE STEVENS
September 24, 2012

Identify the difference between XML and HTML.
Identifying the difference between XML and HTML language will be the basic content of this paper. I will provide some direct and indirect information regarding both languages and an example of what each code would look in its simplest form. Acknowledging the usefulness of XML and HTML in today’s society or the World Wide Web will be fully discussed to the best of my knowledge and research.
Let us begin with a few definitions that will be helpful throughout this paper.
XML – eXtensible Markup Language
HTML –Hypertext Markup Language
Computer Language --- A programming language designed for use on a specific type of computer
End User --- the person who will be utilizing or working the program on a constant basis
XML
* XML is a computer base language that was designed to transport and store data. * XML is Plain Text that handles applications focusing on the nature of the application. * XML is a software- and hardware-independent tool for carrying information * XML is the most common tool for data transmissions between applications, storage and describing information. * XML is used in web development to simplify data storage. * XML Separates Data from HTML * XML data can be stored in separate files * XML data can easily be exchanged between incompatible systems. * XML Simplifies Platform Changes * XML data is stored in text format. This makes it easier to expand or upgrade to new operating systems, new applications, or new browsers, without losing data. * XML Makes Data More Available * XML data can be available to all kinds of "reading machines" making it easily accessible to people with learning difficulties.
Example of an XML file:
<note>
<to>Love</to>
<from>Jenni</from>
<heading>Reminder</heading>
<body>It is my BIRTHDAY!</body>
</note> (G De Laurentiis, p. 7)

HTML
“HTML is the "language" that web pages are written in - in fact, HTML stands for "hypertext mark-up language." But what does that mean?
Hyper is the opposite of linear. Old-fashioned computer programs were necessarily linear - that is, they had a specific order. But with a "hyper" language such as HTML, the user can go anywhere on the web page at any time.
Text is just what you're looking at now - English characters used to make up ordinary words.
Mark-up is what is done to the text to change its appearance. For instance, "marking up" your text with <b> before it and </b> after it will put that text in bold.
Language is just that. HTML is the language that computers read in order to understand web pages.”(http://www.freeservers.com/WebHosting101/WhatIsHTML.html)
HTML is the basis for creating websites. This particular language is created by making use of the “tag” (< >); letters or symbols located in between the greater than or less than symbols. These tags identify what the programmer wants and how they want it to be displayed.
HTML is used to format and display the data.
HTML is about displaying information
HTML is presentation language
According to www.w3schools.org, “HTML is the universal markup language for the Web. HTML lets you format text, add graphics, create links, input forms, frames and tables, etc., and save it all in a text file that any browser can read and display.” (W3schools.org, 1999-2012, p. 6) To be a bit more simplified, HTML is a set of tags that describes how the documents will be viewed on the web. HTML is the “mirror” for an XML file. It’s the part of a computer programming language that gives you the option to display exactly how you would want your website to look. A Simple HTML File: <!DOCTYPE html>
<html>

<body>

<h1>Jennifer Washington</h1>

<p>Online Course Web</p>

</body>

</html>

CONCLUSION
To tie everything together, I would like to say, there are more things that are significant about XML than there are about HTML. But HTML is needed to provide the necessity of and XML file. Like any programming language or any website, everything has to have a flow. If someone puts these two languages into common sense and take away the technical terminology, they might say that XML is the brains behind the beauty of HTML. The most significant difference between HTML and XML is that HTML has predefined elements and attributes that are well specified. XML does not have predefined elements and attributes; this creates authors that can create their own words for declaration specific to the end user’s needs.

References G De Laurentiis. (). The Difference between XML and HTML. Retrieved from http://www.itswtech.org/lec/asstlecahmed/xmllab.pdf
W3schools.org (1999-2012). HTML Summary. Retrieved from http://www.w3schools.com/html/html_summary.asp

Similar Documents

Free Essay

Xml and Html Have Differences

...XML and HTML have differences that can determine one from the other.  XML is used in many ways but there are three ways where XML is used more than others are.  XML also has standards that will be discussed.  This presents many questions concerning XML and HTML and their differences. According to Walsh XML is a markup language that contains structured information. The information contains words and pictures. With some kind of indication of what role those words and pictures play.  Almost every document there is has some sort of structure.  A markup language is a mechanism that identifies structures within a document.  The XML defines a way to add markup to documents (Norman Walsh, 2010). A number of related specifications arise when defining XML.  XML (Extensible Markup Language) defines the syntax of XML.  XPointer (XML Pointer Language and XLink) XML Language defines a standard way to represent links between resources.  XML has mechanisms for links between several resources and links for read-only resources.  XSL (Extensible Style Language defines the standard style sheet language for XML (Norman Marsh, 2010). HTML (Hypertext Markup Language) is a markup language that is used for the developing web pages.  HTML is a way to show the structure of text-based information in a document by setting certain text headings, paragraphs, lists, and to replace that text with forms that interact, images, and other objects as well (PRLog, 2008). Even though they are very similar...

Words: 559 - Pages: 3

Free Essay

Intoduction of Xml

...XML, or extensible Markup Language, is a language based on web standards use by various communities and products. Similar to HyperText Markup Language, or HTML, XML is more concerned with data display than the presentation (Robbins, 2006). XML provides a unique structure that enables developers to define their own tags and attributes for elements. Defining such a unique set tags gives their intended audience data in a specific information format. Identifying difference of XML and HTML, examining XML standards, and providing XML examples will explain why XML is an important data exchange markup language standard. In order to understand XML it is important to understand HTML and differences between the two languages. The core technology for web page design is HTML. This language provides a non-programming language that marks up a page through use of tags to present objects. Angle bracket with keywords inside in an open and closing format provides instructions for a browser to interpret to display objects. Not all objects of HTML actually have open and close tags. Examples of standard HTML tags include “ ”, “” objects which produce a link and text input. Attributes are associated with objects allow displaying variations to the rendered objects. A browser is used to generate a page based on the objects that are displayed in order. Presentation of content employs a static method. Constant updates to pages are an inherent setback for using HTML. Additional......

Words: 1280 - Pages: 6

Free Essay

Syllabus

...[pic] [pic]   |Department of Information Technology | |WEBD341: Enterprise Data Exchange using XML | |3 Credit Hours | |8 Weeks | |Prerequisite(s): WEBD121: Web Development Fundamentals | |Table of Contents | |Instructor Information |Evaluation Procedures | |Course Description |Grading Scale | |Course Scope |Course Outline | |Course Objectives |Policies | |Course Delivery Method |Academic Services | |Resources |Selected Bibliography | |Appendix A – Professor Biography |Appendix B – Weekly Student Course Guide | |Instructor Information ...

Words: 3056 - Pages: 13

Free Essay

Scholar

... What means XSLT? XSL (eXtensible Stylesheet Language) consists of • XSL-T (Transformation) – primarily designed for transforming the structure of an XML document – W3C Specification: http://www.w3c.org/TR/xslt • XSL-FO (Formating Objects) – designed for formatting XML documents – W3C Specification: http://www.w3c.org/TR/xsl XSLT origin: Document Style Semantics and Specification Language (DSSSL, pron. Dissel). Why Transform XML? XML is a success because it is designed: • for separation between content and presentation (XML is a generic markup language) • as a format for electronical data interchange(EDI) between computer programs • as human readable/writable format Transforming XML is not only desirable, but necessary. XSLT is an attempt to fulfill this need, by supporting • publishing data (not necessarily XML). • conversion between two proprietary formats (not necessarily XML). Publishing XML data Data Conversion How XML data can be transformed using XSLT? (1/3) 1 a conversion of XML data into a tree structure, e.g. using an XML parser conformant to – Document Object Model (DOM) http://www.w3.org/DOM/ – Simple Api for XML (SAX) http://www.megginson.com/SAX/sax.html Tree structure XML fragment This is an example para XML Parser DOM/SAX This is an em example How XML data can be transformed using XSLT? (2/3) 2 a structural transformation of the data: from the input to the desired output structure – involves......

Words: 2148 - Pages: 9

Free Essay

Testing

...10 XML Interview questions and answers for Java Programmer by Javin Paul on January 27th, 2013 | Filed in: Core Java Tags: XML XML Interview questions are very popular in various programming job interviews, including Java interviews for web developer. XML is a matured technology and often used as standard for transporting data from one platform other. XML Interview questions contains questions from various XML technologies like XSLT which is used to transform XML files, XPATH, XQuery and fundamentals of XML e.g. DTD or Schema. In this article we will see 10 frequently asked XML Interview questions and answersfrom above topics. These questions are mostly asked in various Java interviews but they are equally useful in other programming interviews like C, C++, Scala or any other programming language. Since XML is not tied with any programming language   and like SQL its one of the desired skill in programmer, it make sense to practice some XML questions before appearing in any technical job interview. XML Interview Questions and Answers Here is my list of some common and frequently asked Interview questions on XML technologies. Questions on this list is not very tough but touches some important areas of XML technologies e.g. DTD, XML Schema, XSLT transformations, XPATH evaluation, XML binding, XML parsers and fundamentals of XML e.g. namespace, validation, attribute, elements etc. Question 1: What is XML ? Answer : XML stands for Extensible Markup language which means......

Words: 12773 - Pages: 52

Free Essay

Web Developer Interview Q&a

...XML / XSLT What is XML, and why has it gained so much momentum? XML, or Extensible Markup Language, is an excellent way of representing data in a structured format. The most popular application of XML is for data-exchange. Like HTML, XML is also a textual, tag-based "markup" language. However, unlike HTML, which has a fixed set of tags and focuses on "presentation", XML does not have any fixed set of tags, and XML is all about "data". It is possible to create our own tags, and write data inside these tags in an XML document. The XML data is structured in a hierarchical format, and there are many "parsers" available that allow easily getting to the data values. In addition to data-exchange, XML is being used for various other purposes, such as content management, XML-based configuration files, eBusiness, document publishing, application integration, and most notably XML-based messaging or Web services. Some of the reasons behind XML's success include: • The ability to define and use our own tags makes XML "extensible", and self-describing. • XML's textual nature makes it highly portable allowing us to send and receive data from one platform to the other without any issues (such as encoding). • The availability of many free XML parsers and processors, makes it really easy to create, read, and manage XML documents. • As mentioned earlier, XML is all about data. Separating "presentation" from the actual "content" has many benefits, including the......

Words: 3825 - Pages: 16

Premium Essay

Electronic Commerce

...Google and Yahoo! can be classified under the ‘Portal’ B2C business model, as both sites offer and integrate a wide package of content including: social network services, news, e-mail, and the ability to search content. The major reason web surfers use either site is simply because these services offered to the public are free. Individuals are permitted to utilize these services free of charge because both companies receive revenues through advertisements. Google for example will only receive payment from their advertisers once a searcher “clicks” on their ad. Both companies also realize the same market opportunity and compete for the same market share with other organizations including: Bing, Ask, and AOL. One of the major distinctions between Yahoo! and Google is the competitive advantage both companies offer to the public. Although both provide a wide range of features, Google maintains their own algorithms in order to achieve the most accurate search results whereas Yahoo! concentrates more on other services they offer such as Yahoo! local or Yahoo! answers allowing them to better compete with Google for market share. 2. One of the common difficulties a company is confronted with when expanding the reach of their market is growing too quickly. Physical space may become too small, and will no longer be sufficient in supplying customer demand. It also becomes easy for a company to lose track of important business operations if expansion happens too quickly; therefore,......

Words: 2307 - Pages: 10

Premium Essay

Kudler Fine Foods’ E-Commerce Analysis Paper

...improvements that we made as we improved the functionality of Kudler’s website. In order to accomplish this task, we split the assignment into seven subtasks or areas of concentration. These seven subtasks are as follows: Identify basic XHTML tags and attributes used in your prototype; Compare how different web browsers display our prototype, what differences we noticed in the web browsers and what caused them; Describe how Cascading Style Sheets (CSS) were used to format the site’s web content; Explain how JavaScript® arrays, loops, and conditional statements were used in our prototype; Identify professional web development standards we used in the development of the prototype; Explain how Metadata might promote this website; and Identify the process we will use to publish, maintain, and redesign this website. As we began to improve Kudler’s website, we started with the development of a prototype and following our seven subtasks, brought us to identifying basic XHTML tags and attributes within the prototype. In this prototype, there are several different types of simple XHTML (Extensible Hyper Text Markup Language) tags and attributes being used. While learning XHTML, we discovered that these tags are similar to HTML and found that it was as simple as understanding HTML. Tags, simply put, define the overall look and settings of the tag contents. As many web-designers/developers may know, if you can learn and successfully implement one web language; the other web......

Words: 3156 - Pages: 13

Premium Essay

Case Covad

...36865_02 12/5/2005 9:55:49 Page 51 CHAPTER 2 TE C H N O L O G Y IN F R A S T R UC TURE: THE IN T E R N E T AN D THE WO R L D W I D E WEB LEARNING OBJECTIVES In this chapter, you will learn about: ● The origin, growth, and current structure of the Internet ● How packet-switched networks are combined to form the Internet ● How Internet protocols and Internet addressing work ● The history and use of markup languages on the Web, including SGML, HTML, and XML ● How HTML tags and links work on the World Wide Web ● The differences among internets, intranets, and extranets ● Options for connecting to the Internet, including cost and bandwidth factors ● Internet2 and the Semantic Web INTRODUCTION Many business executives made the statement “the Internet changes everything” during the late 1990s. One of the first people to say those words publicly was John Chambers, CEO of Cisco Systems, in a speech at a computer industry trade show in 1996. For his company, the Internet did indeed change 36865_02 10/7/2005 16:35:28 Page 52 everything. Cisco, founded in 1984, grew rapidly to become one of the largest and most profitable 52 companies in the world by 2000. Cisco designs, manufactures, and sells computer networking devices. In this chapter, you will learn about these devices and how they make up the Internet. Cisco’s earnings grew as telecommunications companies purchased the company’s products to......

Words: 24308 - Pages: 98

Free Essay

Imed1416 Midterm Study Guide

...points | |   | Data that is transferred between Web browsers and Web servers cannot include ____________________ or certain special characters. | | | | | Selected Answer: |   spaces | | | | | 0 out of 2.85714 points | |   | The ____________________ attribute of the <input> element accepts an integer value that determines how many characters wide a text field is. | | | | | Selected Answer: |   maxlength | | | | | 0 out of 2.85714 points | | | | | | | |   | The options displayed in a selection list are created with ____________________ elements. | | | | |  Question 17 2.85714 out of 2.85714 points | |   | The ____________________ attribute of the <select> element disables the selection list. | | | | | Selected Answer: |   disabled | | | | |  2.85714 out of 2.85714 points | |   | An <input> element with a type of ____________________ creates an image submit button. | | | | | Selected Answer: |   image | | | | | 2.85714 out of 2.85714 points | |   | The <label> element provides control descriptions to nonvisual browsers. | | | | | Selected Answer: |  True | | | | | 2.85714 out of 2.85714 points | |   | A form on a Web site must be sent directly to a database. | | | | | Selected Answer: |  False | | | | | 2.85714 out of 2.85714 points | |   | You can view the HTML source of any Web page from Internet......

Words: 7433 - Pages: 30

Premium Essay

Information Systems: Role in Organisations and Infrastructure

... SECTION A (Total 40 marks) Answer ALL the questions in this section. Question 1 (a) Briefly explain the key differences between HTML and XML. (8 marks) (b) Describe how an RFID system works. Name three disadvantages in adopting its use. (10 marks) (c) What is meant by the term grid computing ? Why has this form of computing become more popular only in the present decade ? (8 marks) (d) Distinguish between online analytical processing and data mining. (8 marks) (e) Identify the computer crime tactic used in each of the following scenario: (i) directing a Web user to a bogus web site even when he has entered a valid URL eavesdropping on the data travelling on a network flooding a server with an avalanche of service requests to crash the network (6 marks) (ii) (iii) ICT219 Copyright © 2008 SIM University Examination – January Semester 2008 Page 2 of 4 SECTION B (Total 60 marks) Answer ALL the questions in this section. Question 2 (a) The Internet offers a variety of services, such as email. Identify the service that support each of the following function: (i) (ii) (iii) (iv) transferring files from one computer to another live, interactive conversations logging onto one computer and doing work on another retrieving information using hypertext links (4 marks) (b) (i) Explain the phrase multitiered client-server computing. (4 marks) (ii) Figure Q2 below shows a client with a web browser accessing data from a company’s database.......

Words: 430 - Pages: 2

Premium Essay

Is535

...improve decision making for employees and managers; increase the competitive advantage of a firm; ensure the firm survives in a changing environment. ________________________________________ 2. Explain the difference between computer literacy and information literacy. Answer: Computer literacy narrowly focuses on the use of computer hardware and software to process raw data. Information literacy includes a broader awareness of how information technology combined with behavioral approaches can be used to solve business problems and create information that is useful to the business and its employees. ________________________________________ 3. Briefly describe how information systems influence organizations, people, and technology. Answer: Information systems help organizations formalize their business processes and culture. People who understand how to operate information systems are necessary as are people who can understand how to use the information from the system to achieve business objectives. Technology provides the foundation upon which a business can build its information system. ________________________________________ 4. Outline the four steps of the problem-solving process. Answer: The first step is to properly and fully identify the problem as it relates to the organization, its people, and technology. The second step involves designing a solution that integrates new technologies with changes in organization and people. The third......

Words: 2637 - Pages: 11

Free Essay

Information System

.... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 67 68 68 72 72 73 74 76 77 78 87 89 90 91 94 96 98 100 105 107 107 109 113 115 3 XML 3.1 XML basics . . . . . . . . . . . . . . 3.1.1 Syntax . . . . . . . . . . . . . 3.1.2 XHTML . . . . . . . . . . . . 3.2 Namespaces . . . . . . . . . . . . . . 3.2.1 Uniform Resource Identifiers 3.2.2 Namespaces in XML . . . . . 3.3 XML Schema . . . . . . . . . . . . . 3.3.1 Schema declaration . . . . . . 3.3.2 Types, Elements, Attributes . 3.3.3 Exercises . . . . . . . . . . . 3.4 XPath . . . . . . . . . . . . . . . . . 3.4.1 Data Model . . . . . . . . . . 3.4.2 Location Paths . . . . . . . . 3.4.3 Expressions, Core Functions . 3.5 XSL Transformations . . . . . . . . . 3.5.1 Templates . . . . . . . . . . . 3.5.2 Additional features . . . . . . 3.5.3 Exercises . . . . . . . . . . . 3.6 XML Query . . . . . . . . . . . . . . 3.6.1 Data Model and Types . . . 3.6.2 Expressions . . . . . . . . . . 3.6.3 Query Prolog . . . . . . . . . 3.6.4 Exercises . . . . . . . . . . . Chapter 0 Introduction 0.1 Foreword The intended audience of the course is students of mathematics in the fifth semester of their studies. The goal is to provide a brief but up to date introduction to......

Words: 18634 - Pages: 75

Premium Essay

Business

...business-to-government. 4. Transaction- is an exchange of value, such as a purchase, a sale, or the conversion of raw materials into a finished product. Exchange funds. 5. Business processes- The group of logical, related, and sequential activities and transactions in which businesses engage. Transfer funds. 6. EFT (Electronic funds transfers), also called wire transfers- account exchange information over secure private communications networks. 7. EDI (Electronic data interchange) - Exchange between businesses of computer-readable data in a standard format. 8. Trading partners- Business that engage in EDI with each other. 9. Value-added network (VAN) - an independent firm that offers connection and transaction-forwarding services to buyers and sellers engaged in EDI. 10. Business model- a set of processes that combine to achieve a company’s goal, which is to yield a profit. 11. Revenue model- a specific collection of business processes used to identify customers, market to those customers, and generate sales to those customers. (cash flow) 12. Michael Porter- argued that business models not only did not matter, they probably did not exist. 13. Merchandising- Combination of the store design, layout, and product display. 14. Commodity item- a product or services that is hard to distinguish from the same products or services provided by other sellers. 15. Shipping profile- The collection of attributes that affect how easily that product......

Words: 1509 - Pages: 7

Free Essay

J2Ee

...J2EE SDK (http://java.sun.com/j2ee/download.html) to use for demonstrations, prototyping, educational use, and verifying J2EE application portability. To support these uses the J2EE SDK comes with J2EE development and deployment tools, a Web server, Cloudscape database, Java Software application server, Extensible Markup Language (XML) support, the J2EE APIs, and Java Plug-In. Java Plug-In lets you run Java 2 applets in browsers that support an earlier release of the Java Runtime Environment (JRE). Note: This is a work in progress. Links to new lessons are turned on when they become available. Submit comments and suggestions to jdcee@sun.com PREFACE IV SEPTEMBER 27, 2000 PREFACE SEPTEMBER 27, 2000 V Contents Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii Lesson 1 A Simple Session Bean. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 Example Thin-Client Multitiered Application 2 J2EE Software and Setup 3 Unix: 3 Windows: 3 Path and ClassPath Settings 3 Path Settings 3 Class Path Settings 4 J2EE Application Components 4 Create the HTML Page 5 HTML Code 6 Create the Servlet 6 Import Statements 7 init Method 7 doGet Method 7 Servlet Code 9 Create the Session Bean 10 CalcHome 11 Calc 12 CalcBean 12 Compile the Session Bean and Servlet 13 Compile the Session Bean 13 Compile the Servlet 13 Start the J2EE Application Server 14 Unix: 14 Windows: 14 Start the Deploy......

Words: 21108 - Pages: 85