Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 2087 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Main differences between XHTML and HTML

Thread title: Main differences between XHTML and HTML
Closed Thread    
    Thread tools Search this thread Display Modes  
12-29-2006, 02:59 AM
#1
jose17 is offline jose17
Status: Junior Member
Join date: Dec 2006
Location:
Expertise:
Software:
 
Posts: 31
iTrader: 0 / 0%
 

jose17 is on a distinguished road

  Old  Main differences between XHTML and HTML

Hi I'm barely starting to learn XHTML I pretty good at HTML and intermediate in CSS, so is there like a lot of differences between XHTML and HTML? Will it be hard to transition from coding HTML and coding XHTML? Also any beginners guides out there.

I would really appreciate it.

Thanks

12-29-2006, 03:06 AM
#2
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

Your best bet is to check out the w3schools site, it took me less than 10 minutes to learn from there. I already knew html as well.

Good luck!

12-29-2006, 10:15 PM
#3
Jonny is offline Jonny
Status: Member
Join date: Feb 2005
Location: UK
Expertise:
Software:
 
Posts: 335
iTrader: 0 / 0%
 

Jonny is on a distinguished road

  Old

The main difference is that XHTML is actually an XML application, meaning that you can embed other XML applications (such as SVG etc) inside of your XHTML document. Don't think about doing cool stuff like that in IE though, it doesn't support SVG, or even XHTML.

Syntactically (spell checker says that's a word :O) it's not much different from HTML. Just make sure you've included your DOCTYPE, your documents are well formed and any style related attributes are in CSS. (no <div height="42"></div> for example)

01-02-2007, 08:36 PM
#4
mikeroq is offline mikeroq
mikeroq's Avatar
Status: Member
Join date: Feb 2006
Location: Ponca City, OK
Expertise: xHTML/CSS/PHP/Computer Tech
Software: Photoshop, Notepad++, Winamp
 
Posts: 332
iTrader: 5 / 100%
 

mikeroq is an unknown quantity at this point

Send a message via AIM to mikeroq Send a message via MSN to mikeroq Send a message via Yahoo to mikeroq

  Old

If your going to make the jump to xhtml, which you should. Here are some tips.

Elements must be lower case, no <A> must be <a>
Single tag elements, input, br, hr, meta, link, must be self closed, ie: <br />
All elements must be closed, with an end tag, or self closed

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed