Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Should I learn HTML or XHTML?
Old 11-26-2010, 04:27 AM Should I learn HTML or XHTML?
Junior Talker

Posts: 2
Name: Anders
Trades: 0
Hi,

This is my first post ever here.

I'm 15 years old, I really want to learn how to design websites and maybe become a web designer in the future. I have started learning basic HTML, but I have been hearing that I should forget about HTML and learn XHTML. Is it true that HTML is no longer used anymore.

What one should I learn? Should I learn both of them? Any other tips for me?

Thank you so much!
anders1 is offline
View Public Profile
 
 
Register now for full access!
Old 11-26-2010, 04:38 AM Re: Should I learn HTML or XHTML?
Gakoyu Ojima's Avatar
Skilled Talker

Posts: 59
Location: Netherlands.
Trades: 0
You could not say that HTML isn't being used anymore. A lot of people do, and with HTML5 becoming a standarization in the (near-)future, things will pretty much look a lot like transitional doctypes, and the "old" way of typing along with new functionalities.

I'd say stick to XHTML, as knowing that would also pretty much mean you'd also get familiarized with HTML generally. I'd personally prefer XHTML strict, if it comes to doctype.

You could also start learning HTML5 if you're interested, but knowing the basics is a must.
__________________
$gocore = new gakoyucore();
$con = mysql_connect($gocore->server, $gocore->username, $gocore->password) or die(mysql_error());
Gakoyu Ojima is offline
View Public Profile
 
Old 11-26-2010, 08:25 AM Re: Should I learn HTML or XHTML?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
There's hardly any difference between those two, so it really doesn't matter which one you study. The both do the (exact) same thing to a browser.

The main difference between the two is that XHTML self-closing tags are supposed to be expressed /> and HTML self closing tags simply close >. The reality is that you can do it either way whether you have an HTML doctype or an XHTML doctype, browsers won't care. HTML 5 officially supports both ways, so if you get used to doing it one way or another, it really won't matter.

I personally only use an HTML 5 doctype any more. It doesn't matter that the specification hasn't been finalized yet. This doctype simply puts all the browsers into standards mode, and you can proceed to code as normal. It is much easier to remember the doctype, also:

HTML Code:
<!doctype html>
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
View Public Profile Visit wayfarer07's homepage!
 
Old 11-26-2010, 09:39 AM Re: Should I learn HTML or XHTML?
CSM
CSM's Avatar
Front-End Developer

Posts: 297
Name: Michael Pehl
Location: Palma de Mallorca
Trades: 0
Well not 100% true...

If you code HTML5 you can get problems with IE6/7/8.

Check out this site: http://drewwilson.com/

Open it with Chrome/FF and with IE6/7/8. You will see the difference.

If this site would have been coded with XHTML all browser would open it. Even IE6.

If you start with HTML you won't do anything wrong. The basics are a must anyway. If it's HTML 4.01/XHTML or HTML5 (I do not code HTML5 because the specs are not final)...

I would recommend to bundle your studies with CSS, too (not CSS3, learn the basics first!!!).

When HTML5 is standard I will recode all our business portals, but I think this will still take some time. For me XHTML is the way to go.
__________________
Chief Web Officer / Front-End Developer / System Engineer

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
CSM is offline
View Public Profile Visit CSM's homepage!
 
Old 11-26-2010, 09:49 AM Re: Should I learn HTML or XHTML?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,184
Trades: 0
I suggest you read this thread from last year which I think explores the whole XHTML vs HTML5 issue quite thoroughly.

http://www.webmaster-talk.com/html-f...ive-html5.html

But if your a 15 year old gen-Z kid then you probably can't be bothered reading so I'll give you the gist.
* XHTML is at a dead end
* HTML5 is the way of the future.

CSM is referring to features in HTML5 that do not have consistent browser support, which is fair enough but nobody says you have to use those features.
90% of it is identical to HTML4 so just update your DocType to the new HTML version and carry on as before.
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
View Public Profile
 
Old 11-26-2010, 11:37 AM Re: Should I learn HTML or XHTML?
CSM
CSM's Avatar
Front-End Developer

Posts: 297
Name: Michael Pehl
Location: Palma de Mallorca
Trades: 0
Well mate... if XHTML would be at a dead end... then HTML 4.01 would have died long time ago.

It did not...

If you code business portals like I am doing then you can not switch to a "technology" that is not supported by older browsers, that is not even standard!

Does not make any sense, the loss would be enormous.

Too many people still use IE7/8 that does not support HTML5 by default. It is not about the features of HTML5.

Imagine you code a site in HTML5 that works fine now, and when HTML5 will become standard only one of the tags got kicked out or the name changed... have fun fixing.

His question was "Should I learn HTML or XHTML?" and I said begin with the basics... that is HTML 4.01.
__________________
Chief Web Officer / Front-End Developer / System Engineer

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
CSM is offline
View Public Profile Visit CSM's homepage!
 
Old 11-26-2010, 11:42 AM Re: Should I learn HTML or XHTML?
radiant_luv's Avatar
Skilled Talker

Posts: 56
Location: WebVille
Trades: 0
I will go along CSM way ==^
Get hold of the basics first.
__________________

Please login or register to view this content. Registration is FREE

Professional & Quality Website Design
Custom Layout Design, PSD to XHTML, Wordpress
radiant_luv is offline
View Public Profile Visit radiant_luv's homepage!
 
Old 11-26-2010, 12:09 PM Re: Should I learn HTML or XHTML?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Quote:
Originally Posted by CSM View Post
Well not 100% true...

If you code HTML5 you can get problems with IE6/7/8.

Check out this site: http://drewwilson.com/

Open it with Chrome/FF and with IE6/7/8. You will see the difference.

If this site would have been coded with XHTML all browser would open it. Even IE6.

If you start with HTML you won't do anything wrong. The basics are a must anyway. If it's HTML 4.01/XHTML or HTML5 (I do not code HTML5 because the specs are not final)...

I would recommend to bundle your studies with CSS, too (not CSS3, learn the basics first!!!).

When HTML5 is standard I will recode all our business portals, but I think this will still take some time. For me XHTML is the way to go.
Problems on that site with in IE have nothing to do with the HTML 5 DOCTYPE. I suggest you check out this site: http://google.com which performs just fine in IE6/IE7/IE8 . Google has used the HTML 5 doctype for a couple years. As I said, the HTML 5 DOCTYPE just puts IE into Standards Mode, which will cause it to perform in a manner consistent with an HTML 4.01 Strict DOCTYPE. Explorer does not support HTML 5 elements, which is where the confusion comes from.

The website you pointed to is using SECTION and HEADER elements, which are not supported by IE.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 11-26-2010 at 12:25 PM.. Reason: grammer
wayfarer07 is offline
View Public Profile Visit wayfarer07's homepage!
 
Old 11-26-2010, 12:11 PM Re: Should I learn HTML or XHTML?
CSM
CSM's Avatar
Front-End Developer

Posts: 297
Name: Michael Pehl
Location: Palma de Mallorca
Trades: 0
Why using HTML5 DOCTYPE when not using the benefits of HTML5?

Makes no sense to me...

Anyway, we will use XHTML for now until HTML5 IS standard
__________________
Chief Web Officer / Front-End Developer / System Engineer

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
CSM is offline
View Public Profile Visit CSM's homepage!
 
Old 11-26-2010, 12:19 PM Re: Should I learn HTML or XHTML?
Junior Talker

Posts: 2
Name: athel
Trades: 0
Today both are important for anyone.Because basic knowledge of html is necessary if you want to learn Xhtml perfectly.Xhtml means extensible markup language means it has some new thing more than just html.So if you first learn html then xhtml is not hard to learn for you.
athel.davis is offline
View Public Profile
 
Old 11-26-2010, 12:27 PM Re: Should I learn HTML or XHTML?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Quote:
Originally Posted by CSM View Post
Why using HTML5 DOCTYPE when not using the benefits of HTML5?
Because the doctype is future proof. It performs fine now, is easy to memorize, and will pretty much last forever.

Besides, many of the sites I build these days do use HTML 5 elements, especially the VIDEO element. I use this HTML 5 player from Jw Player: http://www.longtailvideo.com/support...ayer-for-html5 which is just a <video> tag that gets replaced with a Flash Player if Flash is present, but will still work in browsers that do not support Flash (iPhone, iPad, most Android, etc).
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 11-26-2010 at 12:30 PM..
wayfarer07 is offline
View Public Profile Visit wayfarer07's homepage!
 
Old 11-26-2010, 05:14 PM Re: Should I learn HTML or XHTML?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,184
Trades: 0
Quote:
Originally Posted by CSM View Post
Well mate... if XHTML would be at a dead end... then HTML 4.01 would have died long time ago.

It did not...
It's not an opinion. It's a fact that XHTML is a dead end.

This is the final "goodbye" news posting on the W3C XHTML2 Working Group website.

http://tinyurl.com/3nwxb

Quote:
2009-07-02: XHTML 2 Working Group Expected to Stop Work End of 2009, W3C to Increase Resources on HTML 5. Today the Director announces that when the XHTML 2 Working Group charter expires as scheduled at the end of 2009, the charter will not be renewed. By doing so, and by increasing resources in the HTML Working Group, W3C hopes to accelerate the progress of HTML 5 and clarify W3C's position regarding the future of HTML.
So the W3C have stated that XHTML is going nowhere , so in all probability one day will be deprecated by browsers.

HTML is the future proof option.
And there is no reason you cant use HTML5 now,
if you keep using the same standard html tags common to all browsers.
Google are using it on their home page, after all!
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE

Last edited by TWD; 11-26-2010 at 05:19 PM..
TWD is offline
View Public Profile
 
Old 11-27-2010, 05:17 AM
Extreme Talker

Posts: 156
Trades: 0
I think learning the basics in HTML is great so XHTML will be a breeze

I think getting the hang of the basics in HTML will stand you in good stead for XHTML

Last edited by chrishirst; 11-28-2010 at 08:39 AM..
dagaul101 is offline
View Public Profile
 
Old 11-28-2010, 02:00 AM Re: Should I learn HTML or XHTML?
Junior Talker

Posts: 2
Name: Anders
Trades: 0
Thank you all for answering!! I really appreciate it!



-Anders
anders1 is offline
View Public Profile
 
Old 11-28-2010, 08:46 AM Re: Should I learn HTML or XHTML?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by dagaul101 View Post
I think learning the basics in HTML is great so XHTML will be a breeze

I think getting the hang of the basics in HTML will stand you in good stead for XHTML
Ok then so which bit of ...
Quote:
Originally Posted by TWD View Post
It's not an opinion. It's a fact that XHTML is a dead end.

This is the final "goodbye" news posting on the W3C XHTML2 Working Group website.

http://tinyurl.com/3nwxb

So the W3C have stated that XHTML is going nowhere , so in all probability one day will be deprecated by browsers.

HTML is the future proof option.
And there is no reason you cant use HTML5 now,
if you keep using the same standard html tags common to all browsers.
Google are using it on their home page, after all!
...

Did you NOT understand???

I mean, far be it from me to prevent some people demonstrating how little they know or how little they can be bothered actually LEARNING but there is a limit!!!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 11-28-2010, 07:48 PM Re: Should I learn HTML or XHTML?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,184
Trades: 0
ha ha ha

I wonder if there is a way to explain this with sock puppets?
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
View Public Profile
 
Old 11-28-2010, 08:32 PM Re: Should I learn HTML or XHTML?
Mug
Skilled Talker

Posts: 78
Trades: 0
Have a look at: http://diveintohtml5.org/ as a start.

@CSM
Yeah HTML5 may break in some cases in IE browsers but you help by using a bit of JS http://www.modernizr.com/. I realise this a bit of a hack around to get some things to work in IE but how different is it to the other hacks that are currently required (i realise some features will not work). I know it will bloat your code a bit but is the alternative of making something that will work for everyone fair? MS is slowing the progression of the web just because they have the majority.
__________________
Mug

Please login or register to view this content. Registration is FREE

Last edited by Mug; 11-28-2010 at 08:35 PM..
Mug is offline
View Public Profile
 
Old 11-28-2010, 11:48 PM Re: Should I learn HTML or XHTML?
Novice Talker

Posts: 12
Trades: 0
From HTML > XHTML > CSS + DIV ...are where you going to learn...
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
todayhomebiz is offline
View Public Profile Visit todayhomebiz's homepage!
 
Old 11-29-2010, 03:00 AM Re: Should I learn HTML or XHTML?
Banned

Posts: 143
Name: maheshadodis
Location: USA
Trades: 0
I'd say stick to XHTML, as knowing that would also pretty much mean you'd also get familiarized with HTML generally. I'd personally prefer XHTML strict, if it comes to doctype.

You could also start learning HTML5 if you're interested, but knowing the basics is a must.When HTML5 is standard I will recode all our business portals, but I think this will still take some time. For me XHTML is the way to go.
maheshadodis is offline
View Public Profile
 
Old 11-30-2010, 05:47 AM Re: Should I learn HTML or XHTML?
Duk333's Avatar
Junior Talker

Posts: 3
Location: Romania
Trades: 0
Hi,I would go with HTML(the basics),and then moving on with php.Don't lose your time with graphics(design),go create web application or more functionality to a web site.
__________________

Please login or register to view this content. Registration is FREE
Duk333 is offline
View Public Profile Visit Duk333's homepage!
 
Closed Thread     « Reply to Should I learn HTML or XHTML?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.91634 seconds with 12 queries