redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Thursday 18 October 2018 19:53

Ask your IT question here

HTML or XHTML?



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> HTML forum
View previous topic :: View next topic  
Author Message
happyman
New Programmer


Joined: 31 Jan 2009
Posts: 6
I'm a beginner... What is the difference between HTML and XHTML? When I write in DOCTYPE - is something will be changed on my page?
_________________
we are hunters for miracles

Reply with quote
 
musician
Enthusiastic Coder


Joined: 09 Feb 2009
Posts: 27
it depends on your code... XHTML it's HTML, but changed and have some strict rules
Reply with quote
 
musician
Enthusiastic Coder


Joined: 09 Feb 2009
Posts: 27
and there are three types of XHTML: strict, transitional and something with frames
Reply with quote
 
happyman
New Programmer


Joined: 31 Jan 2009
Posts: 6
musician wrote:
it depends on your code... XHTML it's HTML, but changed and have some strict rules

what rules?
_________________
we are hunters for miracles

Reply with quote
 
musician
Enthusiastic Coder


Joined: 09 Feb 2009
Posts: 27
all contemporary browsers understand XHTML. If you want well-done pages - use XHTML - there will be less problems. Read rules on W3C-site.
Reply with quote
 
linx
New Programmer


Joined: 09 Feb 2009
Posts: 11
happyman, read HTML 4.01, XHTML 1.0 W3C-specifications
_________________
...and justice for all...

Reply with quote
 
happyman
New Programmer


Joined: 31 Jan 2009
Posts: 6
Thanx a lot! I've found some good articles now and specifications...
_________________
we are hunters for miracles

Reply with quote
 
linx
New Programmer


Joined: 09 Feb 2009
Posts: 11
musician wrote:
and there are three types of XHTML: strict, transitional and something with frames

XHTML 1.0 Strict
DOCTYPE with DTD/xhtml1-strict.dtd
Use the strict DOCTYPE when you want really clean markup, free of presentational clutter. Use together with CSS.

XHTML 1.0 Transitional
DOCTYPE with DTD/xhtml1-transitional.dtd
Use the transitional DOCTYPE when you want to still use HTML's presentational features.

XHTML 1.0 Frameset
DOCTYPE with DTD/xhtml1-frameset.dtd
Use the frameset DOCTYPE when you want to use HTML Frames to split the web page into two or more frames.

Good luck! Very Happy
_________________
...and justice for all...

Reply with quote
 
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> HTML forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo