www.pickatutorial.com Computer Tutorials
Top eBooks: C/C++ | C# | Android | Mathematics | Database | Cloud | Graphics | Networking | Oracle | Hardware | AI
Top Tutorials: C/C++ | C#.NET | PHP MySQL | Java | Java Script | jQuery | HTML | xHTML | HTML5 | VB Script| CSS
Lessons XHTML Introduction Bookmark and Share
Tutorial Home
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
You might have heard something about XHTML or eXtensible Hypertext Markup Language. Even if this term is new to you, after reading this lesson, it will no longer be, hopefully.

Strictly speaking XHTML (eXtensible HyperText Markup Language) is from the family of XML markup languages that mirror or extend versions of the widely-used Hypertext Markup Language (HTML), the language in which internet web pages are written.

XHTML was developed to make HTML more extensible and increase interoperability with other data formats. XHTML is a combination of XML (eXtensible Markup Language) and HTML i.e. HTML consists of all the elements in HTML, combined with the strict syntax of XML. XML is a markup language where everything must be marked up correctly, which results in "well-formed" documents. XML is designed to describe data, and HTML is designed to display data. XHTML is a W3C recommendation and it is almost identical to HTML. In simple words XHTML is nothing new! it is basically the HTML, written by following some guidelines. In other words if you write your html code by following some guidelines, it becomes XHTML.

The most important differences between HTML and XHTML are summerized bellow:
  • XHTML elements must be properly nested
  • XHTML elements must always be closed
  • XHTML elements and attributes must be in lowercase
  • Attribute values in XHTML elements must be properly quoted
  • XHTML documents must have one root element

All of the above differences are explained with examples in the coming lessons.
Next >>> Lesson No. 2: The Need for XHTML

Home - Advertise - Contact - Disclaimer - About Us
© Since 2006 pickatutorial.com -- All Rights Reserved.