The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > Web Programming > DHTML


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags: , , ,

Reply
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 06-20-2007, 11:19 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,110
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Will HTML replaced by XHTML?

What do you guys think? This question is just randomly pop up to my mind in a second right after I answered question about XHTML tag well, there's the transition of HTML to XHTML, and I do think that HTML will later be replaced by XHTML. But, would it possible to be totally replaced? Would browser companies later not going to support standard HTML although XHTML is already replacing HTML?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #2 (permalink)  
Old 06-20-2007, 11:51 AM
Lee's Avatar
Lee Lee is offline
PT Staff*
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: Blackpool, UK
Posts: 615
iTrader: (0)
Lee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enough
XHTML will replace i think, they have been thinking of doing that for a while i think but i also think they will have no reason to take out the support of HTML from browsers, i think IE and Firefox etc will always support it for the for seeable future but new browsers will not that come about, also i think most people will see that they need to update to XHTML

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #3 (permalink)  
Old 06-20-2007, 12:19 PM
Nutter Nutter is offline
Novice
Join Date: Jun 2007
Posts: 22
iTrader: (0)
Nutter is on a distinguished road
So what does XHTML offer that HTML doesn't? To me it seems like a transition that doesn't need to happen. Not to say it won't, but right now I usually code in HTML because that's what I learned in.

I think the biggest hurdle XHTML has is that it is a stricter markup than HTML; although that's not really a bad thing, it just makes it harder to learn. For example, <a href=""> and <A HREF=""> both work in HTML but only <a href=""> works in XHTML. Works isn't the right word. Only the lower cased variant is valid. <img src=""> isn't valid in XHTML whereas <img src="" alt="" /> is. Yes, it's probably a good thing to require an alt tag but there are times that a blank alt is the correct thing and I don't think we should be required to specify a blank tag.

edit... And think how many people use <a href="" target="_blank"> to create a popup link. That's not valid for XHTML. The workaround is Javascript, but that doesn't always work with popup blockers.

__________________
- Ryan
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #4 (permalink)  
Old 06-20-2007, 01:29 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,110
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Code:
XHTML whereas <img src="" alt="" /> is.
for that in particular is probably because they try to avoid accessibility issues. I never know that by using target="_blank" is not XHTML though

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #5 (permalink)  
Old 06-21-2007, 12:01 AM
chrishirst chrishirst is offline
Jr. Programmer
Join Date: Jun 2007
Location: Blackpool UK
Posts: 87
iTrader: (0)
chrishirst will become famous soon enoughchrishirst will become famous soon enough
XHTML is NOT the "latest" version of HTML, it is NOT a replacement for HTML, it will NEVER replace HTML.
HTML 5 will be the replacement for HTML 4.01 when it gets beyond a working group draft document

XHTML is a designed to be used with XML, so strictly speaking, unless you are using XML/XSLT on your pages you should be using and validating to a HTML 4.01 Strict doctype.

target="" IS perfectly valid in XHTML as well, but only in the doctype where it actually has any meaning, and that is a frameset DTD.
In actual fact, a frameset DTD has always been the only one where target="" is valid, because without a frameset the target attribute has no meaning.
The mere fact that it worked does not make it correct to use

__________________
Chris
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #6 (permalink)  
Old 06-21-2007, 12:03 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,110
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
aish... then my understanding of XHTML so far is wrong then thanx chrishirst for the information. do you have more supporting information from W3C though? rep added

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #7 (permalink)  
Old 06-21-2007, 08:53 AM
Nutter Nutter is offline
Novice
Join Date: Jun 2007
Posts: 22
iTrader: (0)
Nutter is on a distinguished road
Quote:
The mere fact that it worked does not make it correct to use
You make an excellent point. But there are tons of sites out there that use the _blank target to open a new window, valid or not.

And I've actually never set up a framed site, aside from a few that use iframes for pseudo AJAX type stuff, so I didn't even know that there was a doctype for XHTML frames.

__________________
- Ryan
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #8 (permalink)  
Old 06-22-2007, 01:03 PM
chrishirst chrishirst is offline
Jr. Programmer
Join Date: Jun 2007
Location: Blackpool UK
Posts: 87
iTrader: (0)
chrishirst will become famous soon enoughchrishirst will become famous soon enough
Quote:
do you have more supporting information from W3C though?

Quote:
This specification defines the Second Edition of XHTML 1.0, a reformulation of HTML 4 as an XML 1.0 application, and three DTDs corresponding to the ones defined by HTML 4. The semantics of the elements and their attributes are defined in the W3C Recommendation for HTML 4. These semantics provide the foundation for future extensibility of XHTML. Compatibility with existing HTML user agents is possible by following a small set of guidelines.
From XHTML 1.0

__________________
Chris
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

   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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:01 PM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50