XML, HTML and All That What do they Mean, and Why Should you Care? Ian GRAHAM Centre for Academic Technology Tel: 978-4548 Talk:

Slides:



Advertisements
Similar presentations
Web Development & Design Foundations with XHTML
Advertisements

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML. The World Wide Web Protocols Addresses HTML.
XHTML Basics.
1 © Netskills Quality Internet Training, University of Newcastle XML.
HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
1 LBSC 690 Metadata, Structured Documents, and XML.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
LBSC 690 Session #5 Metadata and XML Jimmy Lin The iSchool University of Maryland Wednesday, October 1, 2008 This work is licensed under a Creative Commons.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
Tutorial 1 Developing a Basic Web Page
LBSC 690: Session 5 Metadata and XML Jimmy Lin College of Information Studies University of Maryland Monday, October 8, 2007.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
An Introduction to XML: The eXtensible Markup Language Manitoba Library Associations Conference 2000 Ian Graham, Session T4, 11 May, 2000.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
Developing a Basic Web Page with HTML
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
Chapter 14 Introduction to HTML
Introduction to HTML. What is a Web site? A collection of "pages" or files linked together and available on the World Wide Web What do you need to create.
Creating a Simple Page: HTML Overview
1 Networks and the Internet A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Creating a Basic Web Page
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Chapter 16 The World Wide Web Chapter Goals ( ) Compare and contrast the Internet and the World Wide Web Describe general Web processing.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
An XML Introduction Extensible Markup Language Describe Structure and Content of Data Sample XML Document.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
HTML (HyperText Markup Language)
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
HTML - basic tags - How to learn more. What is HTML? HyperText Markup Language HTML5: – Recommended by the W3C.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
CSCE Chapters 1 and 2 CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department of Computer Science & Engineering.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
1 Labels and Tags October 14, Grammar A set of components and rules that define a method/means of communication among objects. Components are.
Chapter 13. Applets and HTML HTML Applets Computer Programming with JAVA.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML: Hyptertext Markup Language Doman’s Sections.
XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
XML, HTML and All That What do they Mean, and Why are they Important? Ian GRAHAM Centre for Academic Technology Tel: Talk:
WEB APPLICATION DEVELOPMENT For More visit:
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML. Today’s Discussion What is HTML ? What is HTML ? What is Web Page ? What is Web Page ? Web Server Web Server Web Browser Web Browser.
An XML Introduction Next Generation Web Data Ian GRAHAM Centre for Academic Technology Tel: Talk:
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Application Programming Presented by: Mehwish Shafiq.
A Look at HTML (and XHTML). Types of Web Applications.
Basics of Web Based Computing. The Architecture The user’s system A Web Server What’s inside? Server software Apache or other Resources to be accessible.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
Introduction to the World Wide Web & Internet CIS 101.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
XML Related Technologies
Introduction to XHTML.
Introduction to HTML 5.
Introduction to HTML 5.
An Introduction to HTML Pages
AN INTRODUCTION BY FAITH BRENNER
Presentation transcript:

XML, HTML and All That What do they Mean, and Why Should you Care? Ian GRAHAM Centre for Academic Technology Tel: Talk:

Overview zA little Web history and the birth of HTML zHTML is not enough -- why? zXML for universal data yFor communicating information of all types zExamples of XML in action zProfound conclusions...

The Birth of the Web zThe HyperText Markup Language yA simple language for distributing text zAll the other parts -- yURLs, HTTP, CGI...

Four Main Components zURLs: For addressing things zHTTP: For transporting data zCGI: For adding functionality zHTML: For encoding text information

HTML HTTP Shoutcast NNTP FTP URLs CGI Databases & other software

HTML zA simple, general-purpose language zSimple hypermedia zOriginal idea -- yCollaborative authoring yMerging of concept of authoring/viewing

HTML Evolution zStarted with very few tags … zsimple requirements (only need to no a little bit about the tags, and then just muddle through) zLanguage evolved, as more tags were added yforms, images, tables, frames, fonts,...

HTML Problems (1) zEveryone wanted personalized tags zWant to put other data into HTML ymathematics, database entries, literary text, poems, purchase orders …. zHTML just isn’t designed for that!

HTML Problems (2) zSoftware processing yServer management of data zBut -- HTML is so ill- formed, this is hard! HTML Web server engine

HTML Problems (3) zSoftware processing yClient data processing (machine--machine communication) zBut -- HTML is so ill- formed, this is hard! HTML Client software Database, viewer, whatever.... (from somewhere on the Web...)

Idea: Back to Basics zHTML was defined using SGML yStandard Generalized Markup Language yA meta-language for defining languages zComplex, sophisticated, powerful zIdea: Use SGML

Languages based on SGML SGML HTMLTEIDocBook...

Problems with SGML zSGML Too complicated zRules too strict yCan’t distribute ‘loosely’ formatted text (like HTML) zNot good in a distributed environment zCan’t mix different data together yCan’t add arbitrary tags

Idea (2): “Webified” SGML zNew eXtensible Markup Language: XML zCan use XML to define new languages zDistributes easily on the Web zCan mix different types of data together ycan easily add new tags, and tell a browser what to do with them (more or less....)

Basic XML Rules zTags written as with HTML, but... zTechnical details yTag names are case-sensitive yAlways need end tags ySpecial empty-element tags yAlways quote attribute values

Like this example ….. Title of text XHTML Document Heading of Page ….. And here is another paragraph, this one containing an inline image, and a line break. XML stuff

Special XML Things z ySays that this is an XML document z ySays that the meaning of the tags inside (and including) the html element are defined as belonging in the same “space” of names. xmlns  XML namespace

Evolution of XML zMany XML languages, optimised for different Web roles yMathML -- for mathematics ySMIL -- for synchronised multimedia yRDF -- for describing “things” yXUL -- for describing the Nav5 user interface ySpeechML -- for synthesised voices

MathML zDesigned to express layout of maths zAlso can express semantics zCut & paste into Maple, Mathematica z x 2 + 4x + 4 =0 x &invisibletimes; x + 4 = 0

SMIL zSynchronised Multimedia Integration Language zIntegration of multimedia with text, audio, video zSupport in RealPlayer G2

SMIL Example <region id="AnimChannel1" title="AnimChannel1" left="0" top="0" height="265" width="280" fit="hidden"/> <animation src="otscompfin.swf" id="Animation" region="AnimChannel1" title="Animation" fill="freeze"/>

XHTML: NextGen HTML Title of text XHTML Document Heading of Page here is a paragraph of text. I will include inside this paragraph a bunch of wonky text so that it looks fancy. Here is another paragraph with inline emphasized text, and absolutely no sense of humor. And another paragraph, this one with an <img src="image.gif" alt="waste of time" /> image, and a line break.

XHTML zJust like HTML, but based on XML rules zWill support integration of different data into a single document y(Doesn’t work that way now, unfortunately)

XHTML and other Data Title of XHTML Document Heading of Page … MathML markup … more html stuff goes here … SMIL markup …

Displaying XML zMore complicated than HTML yXML represents data only, not how it looks yNeed extra instructions (a “style sheet” document) to define how things should look

What Browsers Do Now? zNavigator 4, Internet Explorer 4 yUggh…… (can’t handle XML at all) zInternet Explorer 5 -- shows a tree of elements zNetscape 5 -- ignores the tags... or so it seems...

Other Use: Data Abstraction zXML as a universal format for data interchange yMachines exchange data as XML-format messages yEliminates proprietary data formats yLots of XML processing software available

XML Messaging: Business Factory Supplier Place order Response

XML Messaging: Database Database Other DB Request/send data

Example Message Gold sprockel grommets, with matching hamster 12 …. Order something else …..

Other Examples zXUL: XML User Interface Language yHow Navigator 5 configures its interface yDefines structure and software integration ( zRDF: Resource Description Framework yFor describing things yUsed by Netscape Open Catalog project to define Web accessible resources (

The XML Family Tree SGML XML HTMLTEI XHTML SMIL MathML SpeechML RDF XUL

XML Summary zan integration tool for mixing different types of data za universal format for exchanging data between machines za framework for distributing information on the Web

XML, HTML and All That Ian GRAHAM Centre for Academic Technology Tel: Talk: