EXtensible HyperText Markup Language Miruna Bădescu Finsiel Romania Copenhagen, 25 May 2004.

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

LIS650lecture 1 XHTML 1.0 strict Thomas Krichel
Copenhagen, 6 December 2004 Technological advances since 2000 Miruna Bădescu Finsiel Romania.
XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
Web Development & Design Foundations with XHTML
Dr. Alexandra I. Cristea XHTML.
Website Design.
Extensible Markup Comes of Age in XHTML Don Kiely Software Technologist Third Sector Technologies Fairbanks, Alaska
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
XHTML Basics.
1. Content – Collective term for all text, images, videos, etc. that you want to deliver to your audience. 2. Structure – How the content is placed on.
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.
 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
Tim Berners-Lee authors HTML in 1991, assisted by his colleagues at CERN,
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Tutorial 9 Working with XHTML
XHTML 16-Apr-17.
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.
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
1 HTML’s Transition to XHTML. 2 XHTML is the next evolution of HTML Extensible HTML eXtensible based on XML (extensible markup language) XML like HTML.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
HTML Elements. HTML documents are defined by HTML elements.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Copenhagen, 6 June 2006 Modern Web standards in CHM portals Mădălina Sauca Finsiel Romania.
Computer Sciences Department
Tutorial 1: Getting Started with HTML5
Creating Web Pages with HTML
Principles of Web Design 6 th Edition Chapter 1 – HTML5.
HTML & XHTML Introduction. First HTML 1992 Marked-up text to represent a hypertext document for transmission over the network The hypertext mark-up language.
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.
XML eXtensible Markup Language by Darrell Payne. Experience Logicon / Sterling Federal C, C++, JavaScript/Jscript, Shell Script, Perl XML Training XML.
Semantic markup Library and Information Services University of St Andrews.
Web page - A Web page is a simple text file that contains a set of HTML tags (code) that describe (to the browser) what should go on a web page. It may.
XHTML Presented by Kelly(Geun-young) Yim. Learning Objectives  List the difference between XHTML and HTML  Create a valid, well-formed XHTML document.
XHTML Presentation by Kevin See June 16, XML in HTML Meeting Report  May 11, 1998  html
Introduction. Document Structure Overview  XML declaration (prolog)  Document type declaration  Root element (namespace)  Document header  Document.
3 XHTML.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
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.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
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.
Introduction to XML Jussi Pohjolainen TAMK University of Applied Sciences.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
XHTML. What Is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is almost identical to HTML XHTML is stricter than HTML XHTML is HTML.
Creating a Well-Formed Valid Document
CITA 330 Section 3 XHTML.
Tutorial 9 Working with XHTML
Tutorial 9 Working with XHTML
Introducing HTML & XHTML:
Tutorial 9 Working with XHTML
XHTML Review Anita Philipp Updated Spring 2016.
Structuring Content in a Web Document
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

eXtensible HyperText Markup Language Miruna Bădescu Finsiel Romania Copenhagen, 25 May 2004

What is XMTL? n HTML4 is regarded as the standard publishing language on the Web F SGML application conform with the ISO 8879 standard F Defines a set of structural and semantic tags for authoring Web documents n XML is also a SGML implementation F Conceived to standardize the data transfer n XHTML is a family of document types that reproduce and extend HTML4 and are XML-based F Design to work with XML-based user agents

Why use it? n XHTML documents are XML conforming F => can be validated using XML tools n Can utilize applications (e.g. scripts and applets) that rely on either the: F HTML Document Object Model F XML Document Object Model n Easier to interoperate F Alternate ways of accessing the Internet are constantly being introduced n New XHTML-compliant user agents can be built to benefit from new and existing features

n Must have a DOCTYPE declaration prior to the Root element n Can have an XML declaration when the character encoding is other that the default UTF-8 or UTF-16 Making XHTML compatible documents

n The root element must be html n When a user agent processes an XHTML document, it will recognize only attributes of type ID (i.e. id instead of name) as fragment identifier n If an element is not recognized, the elements content must be processed n If an attribute is not recognized, it is ignored n If an attributes value is not recognized, the default value is used Making XHTML compatible documents (2)

n The document must be well-formed: no nested tags u Correct: here is a paragraph. u Incorrect: here is a paragraph. n Elements and attributes must be in lowercase (XML is case sensitive) u Correct: u Incorrect: Differences with HTML4

n End tags are required for non-empty elements u Correct: here is a paragraph here is another u Incorrect: here is a paragraph here is another n Attribute values must always be quoted u Correct: u Incorrect: Differences with HTML4 (2)

n XML does not support attribute minimization u Correct: u Incorrect: n Empty elements must have an end tag u Correct: u Incorrect: Differences with HTML4 (3)

n Script and style elements must have a #PCDATA content u Correct: <![CDATA[ … unescaped script content … ]]> n References to characters can be made using hexadecimal values u Correct: &#xnn; &x20AC; (Euro sign) u Incorrect: &#Xnn; &X20AC; Differences with HTML4 (4)

n SGML allows DTDs to exclude specific elements from being contained within an element u Examples: a must not contain another a element pre must not contain elements like img, object, big, small, sub, sup form must not contain another form element u Such prohibitions are not possible in XML Element prohibitions

n The encoding of a HTML document is specified by the Web server via: F The charset parameter of the HTTP Content-Type header or F The meta element in the document itself n In XML documents, the character encoding is specified in the XML declaration n For XHTML, the server should provide correct headers. If not, the document must include both XML declaration and meta http-equiv statement Character encoding

n The free W3C validator is located at: Validate offline pages at: Validating your documents