Introduction to XHTML - Introduction to XHTML What is...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to XHTML What is XHTML? XHTML is an extension of HTML designed to work with XML user agents. The current version is XHTML 1.1. HTML is a standard language for publishing on the World Wide Web. HTML is an application of SGML (Standard Generalized Markup Language). SGML is the de facto standard for describing markup languages particularly those used in electronic format but not necessarily for the internet. SGML is both rich and complex. HTML on the other hand specifies only a small set of structural and semantic tags. HTML has support for hypertext and multimedia. The first line of an XHTML document must start with an xml declaration. <?xml version = "1.0" encoding = "utf-8" ?> Document Type Definition (DTD) is a collection of XML markup definitions that defines the legal structure of the language. There are three variations of the DTDs for XHTML - strict, transitional, and frameset. An XHTML document must conform to one of them and should be the first thing that has to be declared. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Introduction to XHTML - Introduction to XHTML What is...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online