GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 24-Dec-2004, 16:46
dopee dopee is offline
Awaiting Email Confirmation
 
Join Date: Feb 2004
Location: south africa
Posts: 109
dopee will become famous soon enough

Html Xhtml?


Ok so i've seen this come up quite a lot and still have no idea on what the difference is between html and xhtml. Can someone help me out, show me the light?
  #2  
Old 24-Dec-2004, 17:33
crystalattice's Avatar
crystalattice crystalattice is offline
Flame War Instigator
 
Join Date: Apr 2004
Location: San Diego
Posts: 1,534
crystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nice
In a nutshell, xhtml is the "new" html. It's designed to move web developers to the xml mindset while allowing compatiblity for HTML-only browsers (which are very few nowadays). XHTML keeps the data seperate from the presentation code; CSS and other schemes are used for presenting the HTML data, allowing for easier changes.

For example, if you wanted to change every title in your page to a different font, you used to have to manually change every heading block. If you use CSS, you can make one change in the CSS stylesheet and it's shown on every heading you have it tied to.

HTML is "sloppy" in that you can pretty much do what you want and the browser will still be able to show your page. XHTML is stricter: every tag must be closed (e.g. you have to use <p> & </p> instead of just <p>), many features are truncated because CSS takes over, and other things.

For more information, I'd recommend going to the source: www.w3c.org. They created the standards for HTML, XHTML, XML, etc.
__________________
Common Sense v2.0-Striving to make the world a little bit smarter.
 

Recent GIDBlog2nd Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What should I use? XHTML 1.0 or HTML 4.01 Strict? retxedz Web Design Forum 0 24-Dec-2004 15:56
how do i make it so the image around my html slice expands when typed in ? gameshow863 Web Design Forum 6 03-Jun-2004 05:48
XHTML / HTML BBCode Suggestion BobbyDouglas GIDForums™ 1 01-Feb-2004 01:06
html to php tenaki Web Design Forum 17 28-Oct-2003 16:18

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:41.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.