Free Essay

Identify the Difference Between Xml and Html

In:

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 technologies...

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

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 flexibility...

Words: 3825 - Pages: 16

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 selecting-projecting-joining...

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 you...

Words: 12773 - Pages: 52

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, the...

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,...

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 build...

Words: 24308 - Pages: 98

Free Essay

Information System

...Information Systems Lecture Notes G´bor Bodn´r a a RISC-Linz, Johannes Kepler University, A-4040 Linz, Austria email: Gabor.Bodnar@risc.uni-linz.ac.at www: http://www.risc.uni-linz.ac.at/people/gbodnar January 23, 2005 2 Contents 0 Introduction 0.1 Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.2 Information Sources . . . . . . . . . . . . . . . . . . . . . . . . . 1 Data Modeling 1.1 Introduction . . . . . . . . . . . . . . . . . 1.2 The Entity-Relationship Model . . . . . . 1.2.1 Entities, Attributes, Relationships 1.2.2 Classification of Relationships . . . 1.2.3 Keys . . . . . . . . . . . . . . . . . 1.2.4 Entity-Relationship Diagrams . . . 1.2.5 Entity-Relationship Design . . . . 1.2.6 Exercises . . . . . . . . . . . . . . 1.3 The Relational Model . . . . . . . . . . . 1.3.1 Relational Structure . . . . . . . . 1.3.2 Relational Algebra . . . . . . . . . 1.3.3 Functional Dependencies . . . . . . 1.3.4 Normal forms . . . . . . . . . . . . 1.3.5 Indexing and Hashing . . . . . . . 1.3.6 Exercises . . . . . . . . . . . . . . 1.4 SQL . . . . . . . . . . . . . . . . . . . . . 1.4.1 Data Definition . . . . . . . . . . . 1.4.2 Simple Queries . . . . . . . . . . . 1.4.3 Database Modification . . . . . . . 1.4.4 Views and Joins . . . . . . . . . . 1.4.5 Embedded SQL . . . . . . . . . . . 1.4.6 Exercises . . . . . . . . . . . . . . 2 Information Systems On-Line 2.1 On-Line Databases . . . . . . . . . . . 2.1.1 Security Control . . . . . . . . 2.1.2 Transaction...

Words: 18634 - Pages: 75

Free Essay

Imed1416 Midterm Study Guide

...2.85714 out of 2.85714 points | |   | You can specify the size of a table by specifying the ____________________ CSS property for the <table> element. | | | | | Selected Answer: |   width | | | | | 2.85714 out of 2.85714 points | |   | Because heading elements are always directly associated with a caption, a user agent can always tell when one is used for a table caption. | | | | | Selected Answer: |  False | | | | |  Question 3 2.85714 out of 2.85714 points | |   | Even though you should handle the visual display of content with CSS, you can use several types of built-in formatting options without CSS. | | | | | Selected Answer: |  True | | | | | 2.85714 out of 2.85714 points | |   | The width property can not be applied to tables. | | | | | Selected Answer: |  False | | | | | 2.85714 out of 2.85714 points | |   | To apply default alignment and CSS styles to entire sections of a table, you can use table structure elements. | | | | | Selected Answer: |  True | | | | | 2.85714 out of 2.85714 points | |   | Web browsers size each column to be as wide as the widest item in each cell, up to the width of the browser window. | | | | | Selected Answer: |  True | | | | | 2.85714 out of 2.85714 points | |   | The <td> element stands for ____________________. | | | | | Selected Answer: |   table data | | | | | 2.85714 out of 2.85714...

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. Suggest...

Words: 430 - Pages: 2

Premium Essay

(Chapter 6) Data Communications: Delivering Information

...as it travels from the sending device to the receiving device What is a protocol and why is it important in electronic communications? * Protocol: Rules that govern data communication, including error detection, message length, and transmission speed * Because before a communication link can be established between 2 devices, they must be synchronized, meaning that both devices must start and stop communication at the same point. What is a host? * Any device that connects to the network is a “host” What is the difference between a switch and a router? * Router: Main linking device across different networks. * Is a network connection device containing software that connects network systems and controls traffic flow between them. * Switch: Main linking device within a network. * Connecting two or more nodes in the same network or different network. Distinguish between the main two types of conducted media (wired media). * Provides a physical path along which signals are transmitted * Electrical Conductors * Wires (STP & UTP) * Coaxial cable * Light Conductors * Fiber optics Distinguish between centralized data processing, decentralized data processing, and distributed data processing. * Centralized: Processing is done at one central computer. * Advantage * Being able to exercise tight control on system operations and applications * Disadvantage * Lack...

Words: 4052 - Pages: 17

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...

Words: 1509 - Pages: 7

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 step...

Words: 2637 - Pages: 11