 |
Results from the most recent live auction are here.
15 members in the live chat room. Join Chat!
| |
03-31-2008, 05:09 AM
|
· #2 | | NamePros Member | 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. |
| |
03-31-2008, 05:25 AM
|
· #3 | | NamePros Staff Name: Peter Location: Scotland Join Date: Nov 2003
Posts: 4,168
NP$: 1030.15 ( Donate)
| 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>. |
| |
03-31-2008, 06:16 AM
|
· #4 | | Account Closed Join Date: Aug 2007
Posts: 168
NP$: 13.00 ( Donate)
| 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 |
| |
03-31-2008, 10:41 AM
|
· #5 | | NamePros Regular Name: Richard Location: Switzerland Join Date: Sep 2006
Posts: 854
NP$: 15.10 ( Donate)
| |
| |
04-01-2008, 11:57 AM
|
· #6 | | NamePros Regular Join Date: Mar 2005
Posts: 847
NP$: 29.00 ( Donate)
| 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, |
| |
04-01-2008, 08:37 PM
|
· #7 | | Senior Member Join Date: Dec 2006
Posts: 3,335
NP$: 1603.20 ( Donate)
| html is (usually) more messy, less compatible, and unprofessional. xhtml isn't that much harder to learn anyway so do that instead  .
__________________ - shockie |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |