overview of html and xml

22 199 0
overview of html and xml

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Overview of HTML and XML Overview of HTML and XML Contents Contents ■ History History ■ Usage Usage ■ Examples Examples ■ Advantages Advantages ■ Disadvantages Disadvantages HTML HTML ■ What is HTML? What is HTML? ■ Who created HTML? Who created HTML? ■ What is the relationship between SGML and What is the relationship between SGML and HTML? HTML? ■ What is the usage of HTML? What is the usage of HTML? ■ What was the purpose of HTML? What was the purpose of HTML? What is HTML? What is HTML? ■ HTML stands for Hyper Text Markup Language. HTML stands for Hyper Text Markup Language. – Mark up is used to describe the pieces Mark up is used to describe the pieces and parts of a document. and parts of a document. ■ The Key function of the markup is to add The Key function of the markup is to add labels to bits of text, and based on text the labels to bits of text, and based on text the output device can decide how best to format output device can decide how best to format the content. the content. Who created HTML? Who created HTML? ■ HTML was created by Tim Berners-Lee at HTML was created by Tim Berners-Lee at European Laboratory for Particle Physics (CERN) European Laboratory for Particle Physics (CERN) in late 1980’s. in late 1980’s. ■ In 1992, Marc Anderson Created MOSAIC, In 1992, Marc Anderson Created MOSAIC, first graphic interface for HTML documents first graphic interface for HTML documents at UIUC. ( at UIUC. ( University of Illinois at Urbana- University of Illinois at Urbana- Champaign) Champaign) Relationship with SGML Relationship with SGML ■ SGML SGML (Standard Generalized Markup (Standard Generalized Markup Language) Language) was created by the folks at IBM in was created by the folks at IBM in the 1960’s. the 1960’s. – SGML can truly be called the parent of HTML. SGML can truly be called the parent of HTML. – SGML is an International Standard that describes SGML is an International Standard that describes the relationship between a document's content the relationship between a document's content and its structure. and its structure. Usage of HTML Usage of HTML ■ More than 100 Million web pages More than 100 Million web pages ■ Supported by all major browsers Supported by all major browsers ■ Simple and Cheap Simple and Cheap Purpose of HTML Purpose of HTML ■ To be simple enough to support authoring of web To be simple enough to support authoring of web pages. pages. ■ Rich enough to support multimedia embedding in Rich enough to support multimedia embedding in documents documents ■ Flexible enough to support hypertext linking Flexible enough to support hypertext linking XML XML ■ What is XML? What is XML? ■ What is the purpose of XML? What is the purpose of XML? ■ What are the Advantages of XML? What are the Advantages of XML? ■ What are the What are the Attributes Attributes and and Elements Elements of XML? of XML? What is XML? What is XML? ■ XML stands for Extensible Markup Language XML stands for Extensible Markup Language ■ XML is a markup language for documents XML is a markup language for documents containing structured information containing structured information ■ XML is a language for describing other languages XML is a language for describing other languages [...]... Linking in HTML is rudimentary HTML is very instable Advantages of XML s s s s s XML is an easy on-ramp to structured markup for HTML users XML is a true subset of SGML designed for use on the Internet It is easy to write programs that can process XML documents XML, like SGML, is not owned by any vendor of hardware or software Current XML specification is 26 pages Disadvantages of XML s s s XML requires... just like HTML Mr Joe Shmoe 320 Berkeley Street Boston, MA 02115 Advantages of HTML s s s s HTML document browser interfaces are easy to build HTML is easy to learn because it is very simple HTML works across systems that are otehrwise unrelated There are some specialized structures in HTML Disadvantages of HTML s s s s s HTML s Simplicity - a disadvatage as well HTML is a weak presentation tool HTML is...Purpose of XML s XML was designed with some goals in mind – – – – Simple Enough for everyone to learn Broad enough to support Rich Media Should not have any HTML drawbacks Should allow the user to create his own tags – should be able to interpret other languages Elements and Attributes s Elements – An XML element is made up of a start tag, an end tag, and data in between The start and end tags... Example of XML Now let's look at some sample XML Code With XML, you can understand the meaning of the tags More importantly, a computer can understand them as well Mr. Joe Shmoe 320 Berkeley Street Boston MA 02115 Example Continued XML from... value of the element E.g The following element is a element with the value ”Boston” – Boston Elements and Attributes s Attributes – An element can optionally contain one or more attributes An attribute is a name-value pair separated by an equal sign (=) s Boston s In the above example, CITY ZIP is an attribute of the “CITY” element HTML Example Look at the same HTML. .. attribute of the “CITY” element HTML Example Look at the same HTML Code shown HTML tags are for browsing; they are meant for interactions between humans and computers Mr Joe Shmoe 320 Berkeley Street Boston, MA 02115 Example Continued When rendered, the HTML in the previous example looks like this As you can see, HTML tags describe how something should render They don't contain any... documents XML, like SGML, is not owned by any vendor of hardware or software Current XML specification is 26 pages Disadvantages of XML s s s XML requires a processing application In future, XML would require different browsers XML is comparatively new That’s it Folks ! s The END . Attributes Attributes and and Elements Elements of XML? of XML? What is XML? What is XML? ■ XML stands for Extensible Markup Language XML stands for Extensible Markup Language ■ XML is a markup. HTML? What is the usage of HTML? ■ What was the purpose of HTML? What was the purpose of HTML? What is HTML? What is HTML? ■ HTML stands for Hyper Text Markup Language. HTML stands for Hyper Text. hypertext linking XML XML ■ What is XML? What is XML? ■ What is the purpose of XML? What is the purpose of XML? ■ What are the Advantages of XML? What are the Advantages of XML? ■ What are the

Ngày đăng: 23/10/2014, 17:17

Mục lục

  • Overview of HTML and XML

  • Contents

  • HTML

  • What is HTML?

  • Who created HTML?

  • Relationship with SGML

  • Usage of HTML

  • Purpose of HTML

  • XML

  • What is XML?

  • Purpose of XML

  • Elements and Attributes

  • Slide 13

  • HTML Example

  • PowerPoint Presentation

  • Example of XML

  • Example Continued

  • Advantages of HTML

  • Disadvantages of HTML

  • Advantages of XML

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan