XHTML Presentation by Kevin See June 16, 2000. XML in HTML Meeting Report  May 11, 1998  19980511.html

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

EXtensible HyperText Markup Language Miruna Bădescu Finsiel Romania Copenhagen, 25 May 2004.
Dr. Alexandra I. Cristea XHTML.
Extensible Markup Comes of Age in XHTML Don Kiely Software Technologist Third Sector Technologies Fairbanks, Alaska
 Fundamentals of Web Design.  Describe the history and theory of XHTML  Understand the rules for creating valid XHTML documents  Apply a DTD to an.
Pengantar Teknologi Mobile 13 Antonius Rachmat C, S.Kom, M.Cs XHTML.
History Leading to XHTML
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 2 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Tutorial 9 Working with XHTML
XHTML 16-Apr-17.
XHTML1 Building Document Structure. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML) documents.
XHTML. XHTML is one of the many XML-based languages that have been defined XHTML is, essentially, a “cleaned-up” version of HTML 4, reformulated using.
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Working with XHTML Creating a Well-Formed Valid Document.
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.
XP The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 140 Internet Tools Instructor: Enoch E. Damson.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
 XHTML is aimed to replace HTML  XHTML is almost identical to HTML 4.01  XHTML is a stricter and cleaner version of HTML  XHTML is HTML defined as.
2440: 211 Interactive Web Programming Introduction to the Internet & the World Wide Web.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
XHTML - Basics Teppo Räisänen LIIKE/OAMK Introduction XHTML = eXtensible Hypertext Markup Language Transitional ~ HTML 4.01 Goal: to replace HTML.
XHTML and Forms Review – Page 1CSCI 2910 – Client/Server-Side Programming CSCI 2910 Client/Server-Side Programming Topic: Review XHTML and Forms.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
1 HTML intro The development of HTMLThe development of HTML The transition from HTML to XHTMLThe transition from HTML to XHTML XHTML syntax, tags, and.
XHTML Instructor: Charles Moen CSCI/CINF XHTML  A stricter version of HTML  Extensible HTML  The XHTML specification is maintained by the World.
XHTML1 Building Document Structure Chapter 2. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML)
XHTML Presented by Kelly(Geun-young) Yim. Learning Objectives  List the difference between XHTML and HTML  Create a valid, well-formed XHTML document.
Introduction. Document Structure Overview  XML declaration (prolog)  Document type declaration  Root element (namespace)  Document header  Document.
3 XHTML.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
XHTML Web and Database Management System. HTML’s History HTML was initially defined by Tim-Berners-Lee in 1990 at CERN (European Organization for Nuclear.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
Lesson 4.
WEB APPLICATION DEVELOPMENT For More visit:
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 2: Markup Language and Site Development Essentials © 2007 Prosoft Learning Corporation All.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Unit 3 — Advanced Internet Technologies Lesson 10 — Introduction to XHTML.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
Extensible Markup Language (XML) Pat Morin COMP 2405.
What is XHTML? XHTML stands for Extensible Hypertext Markup Language
CIS 228 The Internet 9/20/11 XHTML 1.0.
Creating a Well-Formed Valid Document
CITA 330 Section 3 XHTML.
Tutorial 9 Working with XHTML
Tutorial 9 Working with XHTML
W3C Web standards and Recommendations
What is XHTML?.
XHTML
Introducing HTML & XHTML:
Tutorial 9 Working with XHTML
XHTML Review Anita Philipp Updated Spring 2016.
XHTML 7-May-19.
XHTML 29-May-19.
محمد احمدی نیا XHTML محمد احمدی نیا
Presentation transcript:

XHTML Presentation by Kevin See June 16, 2000

XML in HTML Meeting Report  May 11, 1998  html html  How do we “hide” new idioms from deployed software  How do we introduce new idioms with distinctive display characteristics, such as MathML?

What Is XHTML?  XHTML (Extensible Hypertext Markup Language) is “a reformulation of HTML 4 as an application of the Extensible Markup Language (XML)”  XHTML is a family of current and future document types and modules that reproduce, subset, and extend HTML 4.

Why Would You Want to Use XHTML? Extensibility 1. Powerful machine 2. New tags / attributes 3. Lead to more complicated pages and larger programs Portability 1. Small devices – mobile devices and possibly household devices 2. Several levels of possible markup 3. Web pages can now be made simpler

Document Conformance Strictly conforming documents  Must validate against proposed DTDs.  Root element must be.  Root element must designate the XHTML namespace using the xmlns attribute. (see next slides for details)  There must be a DOCTYPE declaration in the document prior to the root element.

Document Conformance- Using XHTML With Other Namespaces A Math Example The following is MathML markup: 3 x

Document Conformance- Using XHTML With Other Namespaces <book xmlns='urn:loc.gov:books' xmlns:isbn='urn:ISBN: ' xml:lang="en" lang="en"> Cheaper by the Dozen This is also available online.

User Agent Conformance  Consistent with XML 2. Consistent with facilities definition 3. Recognize attributes of type ID 4. Unrecognized Items 5. Space, Tab, Carriage Return, Line Feed are considered as white space.

DTDs – Document Type Definitions  XHTML 1.0 specifies three XML document types that correspond to the three HTML 4.0 DTDs: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> XHTML 1.0 Strict <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> XHTML 1.0 Transitional <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd"> XHTML 1.0 Frameset

Differences With HTML 4  Document must be well-formed  Tag and attribute names must be written in lower-case (see XHTML Case Poll) XHTML Case Poll  For non-empty elements, end tags are required  Empty elements must be terminated (e.g. )  Attribute values must always be quoted (e.g.  Attribute value pairs cannot be minimized (e.g. )  “name” attribute is formally deprecated (to be removed later), use “id” attribute instead

Differences With HTML 4  and elements are declared as having #PCDATA content. e.g. <![CDATA[ document.write(" Hello World! "); ]]>

Differences With HTML 4 – SGML Exclusions a cannot contain other a elements. pre cannot contain the img, object, big, small, sub, or sup elements. button cannot contain the input, select, textarea, label, button, form, fieldset, iframe or isindex elements. label cannot contain other label elements. form cannot contain other form elements.

Compatibility Issues With Existing User Agent  Although there is no requirement for XHTML 1.0 documents to be compatible with existing user agents, in practice this is easy to accomplish.  Appendix C summarizes design guidelines for authors who wish their XHTML documents to render on existing HTML user agents.

XHTML Document Structure An XHTML document consists of three main parts:  The DOCTYPE, The Head, and The Body Here is a minimal XHTML document 1: 2: 3: 4: Minimal document 5: 6: 7: 8: validate 9: 10: 11:

Future Directions  Modularizing XHTML (hand held device) – The process of modularization breaks up XHTML up into a series of smaller element sets. These elements can then be recombined to meet the needs of different communities. Modularizing XHTML

Future Directions  Document Profiles  A document profile specifies the syntax and semantics of a set of documents.  Conformance to a document profile provides a basis for interoperability guarantees.  The document profile specifies the facilities required to process documents of that type.

Conclusion  Example of site written in XHTML - Brian White & AssociatesBrian White & Associates  XHTML 1.0 Combines the Familiarity of HTML with the Power of XML  XHTML 1.0 Provides a Foundation for Device-Independent Web Access  XHTML 1.0 allows authors to create Web documents that work with current HTML browsers and that may be processed by XML- enabled software as well.  With XHTML, we are well-prepared to move into the 21st century web.

Interesting URLs  HTML conversion tool – Tidy HTML conversion tool – Tidy  HTML Writers Guild – world largest international organization of web authors (over 110,000 members, over 150 countries) HTML Writers Guild – world largest international organization of web authors (over 110,000 members, over 150 countries)  W3C HTML validation Service W3C HTML validation Service  HTML Validator – Commercial Product HTML Validator – Commercial Product  FOP – formatter that produces PDF from XSL formatting objects FOP – formatter that produces PDF from XSL formatting objects

Interesting URLs  W3C's Amaya Browser - The latest release includes the support of HTML 4.0 and XHTML W3C's Amaya Browser - The latest release includes the support of HTML 4.0 and XHTML  Slide set on XHTML -This is a recent slide set for XHTML first presented at the W3LA event in Stockholm on 24th March Slide set on XHTML -This is a recent slide set for XHTML first presented at the W3LA event in Stockholm on 24th March 1999.