[advanced search]
Results from the most recent live auction are here.
9 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 03-31-2008, 03:49 AM   · #1
Beverly
Account Closed
 
Beverly's Avatar
 
Trader Rating: (0)
Join Date: Mar 2008
Posts: 4
NP$: 0.00 (Donate)
Beverly is an unknown quantity at this point
Help! I have a question!

What exactly is XHTML. how much different from HTML is it? and, do I have to re-learn a whole bunch of stuff to write valid code with it?


Please register or log-in into NamePros to hide ads
Beverly is offline   Reply With Quote
Old 03-31-2008, 05:09 AM   · #2
ichsie
NamePros Member
 
ichsie's Avatar
 
Trader Rating: (2)
Join Date: Mar 2007
Posts: 56
NP$: 0.00 (Donate)
ichsie will become famous soon enoughichsie will become famous soon enough
Rarely any differences between HTML and XHTML except XHTML is more XML oriented.

So you don't need too much time to switch to XHTML from HTML, actually I doubt you'd really have to in a few years cause' W3C has adopted HTML5 as the future standards rather than XHTML2.0.
__________________
Challenges are our daily athletics, we love your projects as they are our own children. Rely on us for any front end web development and web design projects. Feel free to request a quote.
ichsie is offline   Reply With Quote
Old 03-31-2008, 05:25 AM   · #3
Peter
NamePros Staff
 
Peter's Avatar
 
Name: Peter
Location: Scotland
Trader Rating: (45)
Join Date: Nov 2003
Posts: 4,169
NP$: 1032.15 (Donate)
Peter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud of
Child Abuse Save The Children Save The Children
HTML is quite loose. Tags can be left open (although shouldn't be). Some tage dont need to be closed at all such as <br>

In XHTML all tags that have been opened must be closed. In the case of <br> it is usually done by <br /> (same tag opens and closes it in this case same thing as doing <br></br>.
Peter is offline   Reply With Quote
Old 03-31-2008, 06:16 AM   · #4
wasiflaeeq
Account Closed
 
wasiflaeeq's Avatar
 
Trader Rating: (2)
Join Date: Aug 2007
Posts: 168
NP$: 13.00 (Donate)
wasiflaeeq is on a distinguished road
Ok
XHTML is almost Same as HTML
XHTML has more rules than HTML..
In XHTML we can Use Comments
If You are faniliar with HTML & want to Learn XHTML then No need to worry Just go to w3schools.com & see the differences b/w HTML & XHTML
wasiflaeeq is offline   Reply With Quote
Old 03-31-2008, 10:41 AM   · #5
Irieman
NamePros Regular
 
Irieman's Avatar
 
Name: Richard
Location: Switzerland
Trader Rating: (18)
Join Date: Sep 2006
Posts: 854
NP$: 15.10 (Donate)
Irieman is a jewel in the roughIrieman is a jewel in the roughIrieman is a jewel in the rough
AIDS/HIV Animal Cruelty Animal Rescue Wildlife 9/11/01 :: Never Forget Save a Life Save a Life Autism AIDS/HIV Autism Save a Life Save a Life Save a Life Adoption AIDS/HIV Adoption Autism Autism Autism Parkinson's Disease Parkinson's Disease Parkinson's Disease
Quote:
XHTML is a stricter and cleaner version of HTML.

You can learn more at W3Schools:

XHTML Tutorial
HTML Tutorial

Hope this helps.
Irieman is offline   Reply With Quote
Old 04-01-2008, 11:57 AM   · #6
Zubair1
NamePros Regular
 
Trader Rating: (11)
Join Date: Mar 2005
Posts: 847
NP$: 29.00 (Donate)
Zubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really nice
AIDS/HIV
One of the simplest thing that you have to keep note of when using XHTML is that you have to close all your tags. For example in HTML you can add an image like this
Code:
<img src="img-url.com">
which is OK in html, but when you're switching to XHTML its required that you close every single tag. Since the <img> tag doesn't have a closing tag in html - in XHTML you have to close it like this
Code:
<img src="img-url" />
see the / at the end that / closes the tag itself.

I hope you get the picture, there are some other minor difference which you won't have trouble with if you've learned HTML completely.

Hope that helps
Regards,
__________________
Live Support : Zubair11 [at] hotmail.com
Free SEO Directory! || Free Games and Songs || eBloggy.net
Zubair.info || Mixcat Interactive
Zubair1 is offline   Reply With Quote
Old 04-01-2008, 08:37 PM   · #7
shockie
Senior Member
 
shockie's Avatar
 
Trader Rating: (59)
Join Date: Dec 2006
Posts: 3,336
NP$: 1605.20 (Donate)
shockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant futureshockie has a brilliant future
html is (usually) more messy, less compatible, and unprofessional. xhtml isn't that much harder to learn anyway so do that instead .
__________________
- shockie
████ Watch FREE Domain Videos By Gurus ████
Cheap Web Hosting - 99.9%+ Uptime, Unlimited add-ons domains | From $2
Available Domain Names, Development and Investment Guides + Portfolio
shockie is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

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 On
HTML code is Off
Forum Jump


Site Sponsors
http://www.mobisitetrader.com/ Hunting Moon Exdon
Advertise your business at NamePros
All times are GMT -7. The time now is 03:02 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0