Details study about difference of XHTML and HTML

Monday, June 21, 2010

Markup languages are many but few of them are most in use. If you want to learn about such languages or want to know the difference between them then this article is the right place for you. Through this short note you will be able to learn the difference between XHTML and HTML. These both are language used to develop web pages. People think these both are totally different languages then each other, but that’s not correct all time.

XHTML is not much different than HTML version 4.01. If you are aware of coding in 4.01 version then you can use the similar coding style in XHTML as well. Starting with this version could be good for developers. You can follow the coding system with lowercase letters and not at all miss ending tags. This ending tags will look like </p>.

Mentioned below HTML 4.01 standard reference could be a great help for them.

Before we start doing coding some basic differences are required to learn about XHTML and HTML.

  1. XHTML elements are important and should be properly nested.
  2. These elements should be closed always once the coding is complete.
  3. You have to use the elements in lowercase.
  4. There should have at least one root element.

Tags used in both languages having little difference like if you use the tags of HTML you can apply <b><i>Bold the letter with italic</b></i> where in XHTML you have to enter <b><i> Bold the letter with italic</i></b> way.

In HTML you can place the codes anywhere inside the <html></html> tags, but closing with the tags is not compulsory. However, this condition changes in XHTML and if you are using any code in it you have to close it in proper way.


 
We prefer Bluehost Hosting
 
Text Space Available
Your Text
www.Domain.com
Posicionamiento Web Mexico
Servicios: SEO, Marketing en Internet, Google Adwords y Optimizacion Web
www.SEOwebMexico.com

WooThemes - WordPress themes for everyone

Quick Links
Our Friends
Cool Places
Visit also
About Us