XHTML (eXtended Hypertext Markup Language): An Overview Get the Trellian Seo Toolkit
Get our FREE SEO Guide
Subscribe to our newsletter to receive useful SEO tips, tricks, strategies, free ebooks that are available only to our subscribers and get this amazing SEO guide for free!

Your email is safe and will NEVER be shared with any other parties. And of course, you can unsubscribe at any time.

Name:
Email:
SEO Elite - #1 SEO Software

Who Else Wants To Finally Get A #1 Google Ranking In As Little As 7 Days... And Drive A Minimum Of 789 Unique Visitors To Your Websites Per Day?

HTTP headers view PHP script

This script views all HTTP headers of a specified website.

Only $9.95
Coming soon ...


Self SEO Store  
SEO forum
Website templates
Flash templates
Best hosting reviews.
Free Internet & IT Magazines.
Articles archive

Submit your article

Register
Login

Search
XML news feeds
Free RSS news reader
Contact


AddThis Feed Button

XHTML (eXtended Hypertext Markup Language): An Overview

Posted by Phillip Jr Kimpo on: 2006-06-05 02:30:29

Self SEO > Web Development Articles


Many Web pages today are poorly written. Syntactically incorrect HTML code may work in most browsers even if it doesn't follow HTML rules. Browsers employ heuristics to deal with these flawed Web pages; however, Web-enabled wireless devices (such as PDAs) can't accommodate these hefty Web browsers. The next step in HTML’s evolution comes in the form of XHTML (eXtended Hypertext Markup Language), which is basically a combination of HTML and XML.


History

As with XML, the World Wide Web Consortium (W3C) was the force behind XHTML’s development. When XML was introduced, a two-day workshop was held to discuss whether a new version of HTML in XML was needed. The answer was a resounding “Yes.”

The first W3C Recommendation to be published was XHTML 1.0, which reformulates HTML 4.0.1 in XML and combines the strengths of the two markup languages. The recommendation followed from earlier work on HTML 4.0.1, HTML 4.0, HTML 3.2, and HTML 2.0.

The second W3C Recommendation was XHTML Basic. It boasts of images, forms, basic tables, and object support. XHTML Basic is designed for Web clients that do not support the full set of XHTML features; examples of these clients are mobile phones, PDAs, pagers, and set-top boxes.

The third W3C Recommendation to come out was on the Modularization of XHTML. It provides a means for extending and creating subsets for XHTML. The modular design introduced by this recommendation underscores the invalidity of the “one-size-fits-all” approach nowadays, especially with the advent of Web browsers that vary in capabilities (e.g. cellphone browser vs. desktop PC browser).

The fourth W3C Recommendation was XHTML 1.1 (Module Based XHTML). Here, a new XHTML document type is defined based on the modular design of the third XHTML Recommendation.

Profile

XHTML is a family of current and future document types and modules that contains all of the HTML 4.0.1 elements combined with XML syntax. XHTML is classified as an XML Application, and thus possess many XML features.

XHTML, described by Andrew Tanenbaum as a “language that is Very Picky”, differs itself from HTML by its stricter syntax.

The current version of XHTML that is supported by browsers is XHTML 1.0, a W3C Recommendation discussed earlier. There are three variants to XHTML 1.0:

    XHTML 1.0 Strict — used for exceptionally clean structural markup; the CSS (Cascading Style Sheet) language can be used with this variant to get the desired font, color, and layout effects
    XHTML 1.0 Transitional — best option for Web authors with webpages meant for general public access; takes advantage of XHTML features including style sheets
    XHTML 1.0 Frameset — used to partition the Web browser window into two or more frames

Syntax

The important thing to remember here is that XHTML is extended HTML. This means that writing XHTML code is very similar to writing HTML code. The only difference lies in the fact that XHTML is more strict and structured than its progenitor.

A good way of familiarizing yourself with XHTML is to get old HTML code and bring it up to XHTML standards. You'll need to keep in mind several rules:

    All elements must be properly nested.
    All elements must be properly closed.
    All tag names must be in lower case.
    All attribute names must be in lower case.
    All attribute values must be properly quoted.
    The "id" attribute replaces the "name" attribute.
    All images must have alternate ("alt") text -- make the page accessible for devices that don't load images, or screen-readers for the blind.
    All XHTML documents must have a DOCTYPE declaration, as well as the "html", "head", and "body" elements.
    The "title" element must be present within the "head" element.

A good hands-on tutorial on XHTML can be found at http://w3schools.com.

Discipline and practice will allow you to master XHTML in no time. However, if you don't want to convert an existing HTML document to XHTML yourself, you can use HTML Tidy, a software that does the transformation for you. Also, you can use Amaya, a web browser and editor that saves HTML documents as XHTML ones.

Phillip Kimpo Jr. is a member of the Association for Computing Machinery (ACM). A freelance writer and computer science graduate, he keeps a tech blog at Crimson Crux (http://ccrux.corsarius.net), as well as a literary blog at Corsarius' Slip of the Pen (http://corsarius.blogspot.com).




Print this article    Tell a friend
User comments:

kaylajarvis - Posted on: 2011-01-28 11:33:55

This is a cool screen idea ! It is very interesting indeed.Thank you for your info.i love to read all info.This article gives the light in which we can observe the reality.
----------------------------------------------------------------------
internet marketing servicesseo servicesmba in finance

lilycollins - Posted on: 2011-09-14 12:51:26

Yes I agree with your article ! Nice points. Internet Marketing or Online Marketing (Web Development Services)

jimb45 - Posted on: 2011-09-18 17:18:46

This is definitely the best language to build websites. I use it all the time with great success. There is nothing better. zoloft lawsuit information

ssupreme11 - Posted on: 2011-09-21 00:19:37

Appreciate your taking this opportunity to speak about this cute presentation of new products. When possible, please update this web site with new information. Ive discovered it extremely useful.

Regards,
Dissertation Examples

imarion - Posted on: 2011-09-21 10:16:07

superb blog & writing skills. you make this look easy lol. Keep up the great work Ill be back to read more of your posts later my friend! torrent download

miconred - Posted on: 2011-09-21 16:04:44

Yes this simple language to build websites. It good and best Work

BLACK FRIDAY 2011 USA
BEST SHOPPING IN USA
BLACK FRIDAY IN 2011
USA BLACK FRIDAY 2011

star09 - Posted on: 2011-09-23 00:42:14

Info software performs the utility of the syllabus it implements, either by direct providing instructions to the computer constituent or by delivery as sign to added serving of software.

Regards,
Research Paper Writing Help

lilycollins - Posted on: 2011-09-24 07:20:00

Appreciate your taking this opportunity to speak about this cute presentation of new products. When possible, please update this web site with new information. Ive discovered it extremely useful.

Online Marketing:Internet Marketing:Web Development Services:Web Hosting Packages

padmalakshmi - Posted on: 2011-09-28 11:59:56

Appreciate your taking this opportunity to speak about this cute presentation of new products. When possible, please update this web site with new information. Ive discovered it extremely useful. Woodfield University

jasonhawk - Posted on: 2011-09-28 12:48:41

XHTML 1.0 Transitional â best option for Web authors with webpages meant for general public access; takes advantage of XHTML features including style sheets. Online Education | Fake Degree

jasonhawk - Posted on: 2011-09-28 12:49:15

Thanks for sharing this information, keep up the good work. MBA Degree | Online Campus

adnan202 - Posted on: 2011-09-29 12:53:47

Sunflower oil or unrefined olive oils are also used for the treatment of gallstones. Take 30 ml of either of the two as the first intake of the day and then have around 120 ml of lemon or grapefruit juice. This remedy will help you flush out the gallstones in the form of green stones in your bowels
================================
350-050 training \ 352-001 test \ test king 6401.1 \ 640-461 testking \ testking 640-553 \ 640-721 test king \ 640-802 exam \ 640-816 test king \

terraverdegr - Posted on: 2011-12-05 18:22:17

Nice theme and very good explanation i appreciate your good work here!
fotovoltaika - kosmimata - apokriatika - pet shop
Post New Comment

This site does not allow anonymous comments. Registered members can login to participate. Registration is free and takes only a few seconds