Anjanesh

Assignment Statements, Comparisons & Observations
Font: Size: + -
Showing posts with label browsers. Show all posts
Showing posts with label browsers. Show all posts

So much for my xHTML recommendation

Tuesday, July 24, 2007
xHTML5

I've always told my friend (who runs a New Media firm) to get his designer to create valid xHTML pages instead of using the default standard HTML 4.01 spec for their websites. I've cited a number of reasons to support this. One of the most important being is that xHTML is better served to mobile devices as the xHTML Mobile-Profile spec conforms to the xHTML 1.1 standard. And if a page is a valid xHTML, some device-readers could 'read out' the webpage to blind people.
xHTML 1.1 pages must be served application/xhtml+xml MIME type which IE and some other browsers doesn't support. On the other hand, xHTML 1.0 (whatever DOCTYPE it may be - Strict, Transitional, Frameset) can be served as text/html if it follows the xHTML 1.0 spec guidelines - but even then its not considered to be valid xHTML ! Anyway, that's the summary of a long story.

So much for xHTML that, at the time I created all my pages xHTML 1.1 but never served it from the server as xHTML 1.1 (tag-soup). I even started trying out xHTML 2.0 (which is still in draft mode) only to find out that's its pointless as w3 doesn't really validate 2.0 properly. After realizing that xHTML 1.1 and 2.0 pages need to be served application/xhtml+xml, I fell back to xHTML 1.0 which many web guys do.

A month ago, W3C, after much pressure from an independent body called WHATWG, drew the HTML 5 W3C Editor's Draft 28 June 2007 draft ! Yep, a new version of HTML is on the way. HTML 5 and xHTML 2.0 are under development but which one will successfully take over ? According to HTML 5's new site's timeline, the final Recommendation would be in Q3 of 2010 ! As for xHTML 2.0...I guess they're still trying to mend it.

I guess this is good news for GUI-editor designers who really don't care if its HTML or xHTML - because they depend on DreamWeaver and the like to do all the markup-code work even with inline CSS.

So which one will win the race ? xHTML 2.0 or HTML 5.0 ?

Links :
No to XHTML.
Microsoft's Windows live Writer (WLW) Team Lead at WLW groups' discussion on why he refuses to close the <li> tag.

Works only in IE Browser

Wednesday, January 17, 2007
Today, its pretty rare to find sites that say This site works only in Internet Explorer (IE). Some like Windows Update require IE since it can't update through the browser without the use of Microsoft's legendary ActiveX controls. Accepted. But if a site insists on ActiveX controls and shows up a Doesn't-work-in-this-browser page for non IE browsers, its NOT ok. With alternates like Flash, Javascript and SVG, the webpage can be better optimized. Websol is a Mumbai based IT firm and frequently post job-postings on Indian job boards. I checked out their site [http://www.websol.co.in/] long ago and today I went back to their site to check it again, only to find the issue still hangs around. This may work in IE6, not sure, but since IE7 put a lot of restrictions on ActiveX controls, it must have got detected as a non-IE browser. As seen in Mozilla FireFox 2.0.0.1 As seen in Internet Explorer 7.0 And I thought I was equipped with enough browsers !