Subscribe to our e-mail newsletters
For more info on a specific newsletter, click the title. Details will be displayed in a new window.
E-Business
Networking
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
More E-Mail Newsletters 
Computerworld 2007Subscribe to Computerworld
40 years of the most authoritative source of news and information for IT leaders.

Spreading the Word on XHTML

New standard blends HTML, XML functions
 

Sign up to receive Security Resource Alerts

June 19, 2000 (Computerworld) -- A new standard is promising to smooth the transition from HTML to XML. XHTML is a blending of HTML and XML. The first iteration, XHTML Version 1.0, lets Web sites migrate to XML while allowing their content to remain visible in old browsers.
XHTML redraws the lines blurred by browser makers. HTML is once again meant to be a structural language - tags denote headings and where paragraphs begin and end. Style sheets handle presentation: the placement of items on a page, font and color.
Senior writer Mathew Schwartz talked with Steven Pemberton, chairman of the World Wide Web Consortium's (W3C) HTML working group, the developer of XHTML, to ask about the latest developments. Pemberton is also a researcher at the National Research Institute for Mathematics and Computer Science in the Netherlands.

Q: What was the impetus behind creating XHTML?
A: We have to see why it was created. Back when Microsoft entered the browser wars, they started creating their own tags in HTML, just as Netscape had been. Now you had diverging HTML languages. To end those battles, the W3C decided to create a language where it was perfectly OK to invent tags and thus give the greatest flexibility to people who wanted to create Web content. That was XML. With style sheets, (cascading style sheets and Extensible Style Language), you don't need HTML anymore.

Q: Why have HTML or XHTML at all? Why not just go to XML?
A: We had a workshop in San Francisco in May 1998 to see if the industry still had a need for HTML. First, even though you have the freedom to use any tag in your pages, people didn't want to have to invent new languages; they were happy to stick to standards and not invent their own or maybe just add a little. Second, HTML does have some advantages in that you and search engines know what an HTML tag is - that it is the most important heading on a page - and search engines can do a better job of searching an HTML page because they know what the tags mean. So, people wanted HTML that would partially combine with XML. There's a lot of advantage going to XML, because it makes translations from your database to viewing something on the Web easier, for instance, and it can aid device independence.

Q: Are XHTML 1.0 pages larger than HTML pages?
A: Mostly smaller. We've recoded major sites using style sheets and markup methods, and the sites were smaller. That's because if you do XHTML, the style sheets often only have to be downloaded once for your whole site, and you don't need GIFs to represent text.

Q: Do browser makers intentionally subvert standards?
A: I think it's a learning curve for everyone. I've noticed problems as well - XML gets defined in a certain way, but then how does a reader interpret the definition? There can be confusion; it often takes a few iterations to get it right, especially with Java, cascading style sheets and plug-ins. My hope is browser makers don't say, "Sorry, we've already built products around these mistakes, we don't want to change it now."

Q: Will XHTML work on older browsers?
A: Some. In the short term, people have to do browser sniffing (version detection) if they want to use the fancy stuff in (cascading style sheets). A lot of sites have to do browser sniffing anyway, because Netscape and Internet Explorer have different implementations of JavaScript. There are work-arounds now, but hopefully they won't be necessary in the future.




Print this Story Send Us Feedback E-mail this Story Digg! Digg this Story Slashdot this Story
"Treehugger had a brilliant piece a few weeks about the..." Read more...
"It's IT Blogwatch: in which Carl Icahn tag-teams with Steve Ballmer in the fight for control of Yahoo! Not to..." Read more...
Read more E-Business & Web 2.0 posts or See all Blogs
DNS hole prompts synchronized patching effort by IT vendors
Microsoft plugs nine holes in Windows, DNS, SQL
Symantec warns of new Word attack
More top stories...
Microsoft sets XP SP3 automatic download for Thursday
Don't give Google a free pass on data collection, privacy advocates say after YouTube ruling
XP SP3 to reach most users 'shortly,' says Microsoft
All it takes is a couple hours and about $125 to breathe new life into an old laptop. Here's how.
Is Microsoft's Golden Age over? What are Gates' most memorable quotes? Find out in Computerworld's complete coverage of the end of the Bill Gates era at Microsoft.
There are some things your CIO definitely doesn't want to hear. Also don't miss the flipside, Five things you should always tell your boss.
With its latest version, Mozilla's browser continues to raise the bar for what Web browsers should be.
Reviews, analyses, how-tos, visual tours, hot issues and predictions about Microsoft's new OS.
Four years from now, the IT field will be a vastly different place. Will you be ready?
All Zones
Application Performance Zone
Business Continuity Zone
Data Center Management Zone
Enterprise-Class Security Zone
The File Data Management Zone
Grid Computing on Windows Zone
Security Management Zone
ITIL Best Practices Zone
The SAS Zone
Storage Virtualization Zone
Business Intelligence and Analytics Zone

Ads by TechWords

See your link here
Bringing Order and Security to your Mobile Workforce: Corporate Mobility Policy and Device Management
Bringing Order and Security to your Mobile Workforce: Corporate Mobility Policy and Device Management
LIVE WEBCAST
This webcast will air on Thursday, May 8th.
Go to the webcast 
Adventist Health Improves Document Access with Single Supplier Solution
Download this white paper, free, compliments of Kodak!
(Source: Kodak) Until 2003, Adventist Health System- headquartered in Orlando, FL-relied on a paper-based filing system to manage medical records. The not-for-profit healthcare system, with over 45,000 employees, wanted to improve access to patient records at all of its 40 hospitals in 10 states. And when they transitioned to an electronic medical records system, the organization wanted to work with the best one-vendor solution for scanners.
Download this white paper go
Computerworld Technology Briefing: Meetings @ the Speed of Business
Download this Technology Briefing now, compliments of Microsoft!
(Source: Microsoft) For large organizations, Web conferencing gives a major boost to collaboration among far-flung offices. For smaller companies, experts say Web conferencing is no longer a luxury but a necessity for everything from webinars to customer presentations. But the real value lies in saving soft costs and in increases in productivity.
Download this executive briefing download
White Papers
Read up on the latest ideas and technologies from companies that sell hardware, software and services.
Virtualization Analysis for VMware
A Guide to Understanding Messaging Archiving
Archiving Compliance with Sunbelt Exchange Archiver
View more whitepapers 
Troubleshooting Remote Site Networks - Best Practices
Management and remote site employees expect the same level of network service as the headquarters site. However, when IT staff are faced with limited resources to support remote site networks, often the applications, services and performance at those sites is not as robust as the headquarters site. See how to deliver a high level of network service at remote sites using the best practices outlined in this white paper.

Read whitepaper now
Super-size your LAN with fiber
Fiber optic technology frees the Local Area Network (LAN) from the confines of a single building, allowing a LAN to extend across a campus or a metropolitan area. Read how the selection of fiber optic components affects repeaterless transmission distance and how one school district used fiber to build a more reliable and more cost effective high-speed, district-wide network. Also, read how Metropolitan Area Network (MAN) ownership may require self-assessment of network performance.

Read whitepaper now
Determining the cause of poor application performance
Are users constantly complaining that your network is too slow? Or that they can’t connect or can't stay connected? Are network applications hanging and slowing productivity? Do you spend way too much time trying to isolate the source of the problem and to prove that often the issue isn't the network at all but the application? In this on demand webcast, learn best practices and common root causes of application problems using case studies and live network traffic.

Watch webcast now