HTML - Hypertext Markup Language - XHTML Extended Hypertext Markup Language - XHTML Defination

Many Web pages today are poorly written. Syntactically incorrect HTML code may work in most browsers even if it doesn't follow HTML rules.
By: Luqman Technologies - Web Design Company Lahore
 
Sept. 11, 2008 - PRLog -- XHTML (Extended Hypertext Markup Language)

About the Author:

Luqman Technologies Pakistan is a leading Search Engine Optimization (SEO Company) based in IT City Lahore Pakistan Asia. A Well Known Website Promotion Company providing Search Engine Marketing, Search Engine Placement and Search Engine Ranking Services, as well as Professional SEO Services, SEO Consultancy, Website Design and Web Development, Domain Name Registration and Website Hosting in Lahore, across Pakistan, and Worldwide to Textile, Telecom, Leather and Industry, Government, Foreign Missions and Embassies, Real Estate Brokers, Agents and Real Estate Companies worldwide. For more information please see our website http://www.luqman-technologies.com

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 Pads) can't accommodate these hefty Web browsers.
The next step in HTML 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
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, Pads, 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 approach nowadays, especially with the advent of Web browsers that vary in capabilities (e.g. cell phone 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 Athenaeum 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 a€” 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 a€” best option for Web authors with WebPages meant for general public access; takes advantage of XHTML features including style sheets

XHTML 1.0 Frameset a€” 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’s

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.
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, software that does the transformation for you.
Also, you can use Anaya, a web browser and editor that saves HTML documents as XHTML ones.
Contact The Author:

Luqman Technologies Pakistan is a Reputed Search Engine Optimization (SEO Company), Providing Total SEO and SEM (Search Engine Marketing) Solutions worldwide with a great focus on Quality Check, Assured, User and Search Engine’s Friendly Website Design, Web Development, We are a Reliable SEO Company you will like to hire for all your SEO needs; Our SEO Services include, Professional SEO Services, Cost Effective SEO Solutions, Affordable and Low Cost Search Engine Optimization, Search Engine Marketing, Search Engine Placement, Submission and Search Engine Advertising, As well as Link Building, Directory Submissions, Content Writing, Development, Article Writing, Press Releases Writing, Development and Distributions. We also provide Cheaper or cheapest Domain Name Registration and Web Site Hosting on Secure, Reliable and Error Free Web hosting Servers for All your Business Ecommerce and Personal Web hosting needs and Our Servers are Up all hours and are based in the United States of America in the neat and clean environment. To Contact us, please reach us via http://www.luqman-technologies.com/contactus.htm

# # #

Luqman Tecnnologies Pakistan is ASIAs Top Web Design SEO Services Company based in Lahore Pakistan. Our firm offerings include, Link Building, Manual Directory Submissions, Outsourcing, SEM, Web Development, Search Engine Optimization services.
End
Source:Luqman Technologies - Web Design Company Lahore
Email:Contact Author
Zip:54000
Tags:Html Web Design Lahore, Xhtml Web Design Lahore, Web Site Development Lahore, Web Developer Lahore, Seo Lahore, SEO
Industry:Website design
Location:Lahore - Punjab - Pakistan
Account Email Address Verified     Disclaimer     Report Abuse
Luqman Technologies - The SEO Company Pakistan PRs
Trending News
Most Viewed
Top Daily News



Like PRLog?
9K2K1K
Click to Share