The Art Of Xhtml, Css And Web Standards - Part 1 - The Markup and Style Guidebook

Pages: 1, 2
free web hosting
Open Discussion > CONTRIBUTE > Tutorials

The Art Of Xhtml, Css And Web Standards - Part 1 - The Markup and Style Guidebook

Tyssen
QUOTE(whyme @ Apr 25 2005, 05:17 AM)
The reason why we validate our web pages is because we want them to be accessible through any browser, on any computer, by any means. Sure, Google has roughly 80 Validation errors, and Microsoft doesn’t even care. But what really matters in the validation process is that you can show others that your web site is made of clean coding. Sure, just because your page is valid doesn’t mean it will look any better, but validating them provides a world-wide standard for your website. Also, search engines like valid sites too. wink.gif


Not just that - the push is on (being led by the US at the moment I think) to make more & more sites 'accessible' to all users, that means people with disabilities too. If you do it right, redesigning your site for XHTML means that it will be accessible to older browsers, screen viewers, WAP devices etc. So not only will you not be marginalising anyone, you'll also be opening up your site to the widest possible market.

 

 

 


Reply

bjrn
QUOTE(Tyssen @ May 9 2005, 07:40 AM)
Not just that - the push is on (being led by the US at the moment I think) to make more & more sites 'accessible' to all users, that means people with disabilities too. If you do it right, redesigning your site for XHTML means that it will be accessible to older browsers, screen viewers, WAP devices etc. So not only will you not be marginalising anyone, you'll also be opening up your site to the widest possible market.
*


Actually, if you want older browsers to understand your site, you should definitely stick to HTML and not use XHTML. If you want to make sure everything works I'd probably go for HTML 4.01 transitional.

XHTML forces you to do loads of things older browsers wouldn't understand. Seriously, IE, the most used browser right now doesn't understand XHTML, it just handles it like tag soup (this means IE just says "wow, this looks a bit like HTML, I'll see what happens if I render it like bad html").

 

 

 


Reply

Tyssen
QUOTE(bjrn @ May 10 2005, 06:41 AM)
XHTML forces you to do loads of things older browsers wouldn't understand.


And what would those things be exactly? All XHTML forces you to do is mark up your document correctly - every opening tag must have a closing tag and tags/elements that became deprecated in HTML 4.0 cannot be used. The only other thing is that some tags have /> at the end of them which is not going to affect older browsers.

QUOTE(bjrn @ May 10 2005, 06:41 AM)
Seriously, IE, the most used browser right now doesn't understand XHTML, it just handles it like tag soup (this means IE just says "wow, this looks a bit like HTML, I'll see what happens if I render it like bad html").


I'm not sure what you're basing this assumption on so am viewing it with some at the moment, but I do know that IE is losing market share hand over fist to Mozilla, so if you wanna continue living in the past and coding your pages as HTML 4.0, go right ahead.

Reply

bjrn
QUOTE(Tyssen)
QUOTE(Bjrn)
XHTML forces you to do loads of things older browsers wouldn't understand.
And what would those things be exactly? All XHTML forces you to do is mark up your document correctly - every opening tag must have a closing tag and tags/elements that became deprecated in HTML 4.0 cannot be used. The only other thing is that some tags have /> at the end of them which is not going to affect older browsers.

Okay, perhaps not loads of things, but how many old browsers do you think understand XML? Things like:
CODE
<script type="text/javascript">
<![CDATA[
...script commands...
]]>
</script>

Or how about the very simple <br /> tag, which if your older browser is parsing things correctly (which it may or may not do) should make this
CODE
<p> Hello <br /> World </p>

look like this
CODE
Hello
> World



QUOTE(Tyssen)
QUOTE(Bjrn)
Seriously, IE, the most used browser right now doesn't understand XHTML, it just handles it like tag soup (this means IE just says "wow, this looks a bit like HTML, I'll see what happens if I render it like bad html").
I'm not sure what you're basing this assumption on so am viewing it with some at the moment, but I do know that IE is losing market share hand over fist to Mozilla, so if you wanna continue living in the past and coding your pages as HTML 4.0, go right ahead.

I don't know which assumption you are referring to, but at the moment IE has a market share of about 90%. The other assumption, that IE doesn't understand XHTML, is a fact. IE doesn't understand XHTML, it does parse it as tag soup, and it will totally break down if you send XHTML with the correct MIME type (application/xhtml+xml) instead of text/html.


I'm not saying XHTML is evil. And I'm not sure how much you really should take old browsers into account, IE6, possibly 5.5, is about as old as I usually bother with. XHTML can be terribly handy if you want to embed things like SVG or MathML into your documents (or perhaps plan on doing so in the future), but if you are mainly serving "normal" content to an IE audience you might ask yourself if it's worth switching.

You say that making HTML4 pages is "living in the past", to which I'd reply that I wouldn't be so sure that HTML4 will be replaced by XHTML, in fact chances that a new HTML version will emerge are far from small.

Go make XHTML pages, I do that too, as long as you realize that the only benefits you are making is when you are serving it to browsers that understand it, and with the correct MIME type. And that XHTML may not be the next widely used HTML version.

Reply

Tyssen
QUOTE(bjrn @ May 13 2005, 04:38 AM)
I don't know which assumption you are referring to, but at the moment IE has a market share of about 90%.

I've seen IE's market share reported as anywhere from 64-83%, but definitely not as high as 90% and falling all the time.

QUOTE(bjrn @ May 13 2005, 04:38 AM)
You say that making HTML4 pages is "living in the past", to which I'd reply that I wouldn't be so sure that HTML4 will be replaced by XHTML, in fact chances that a new HTML version will emerge are far from small.

I don't know what you're basing that assumption on, but the W3C HTML Working Group don't appear to be considering a new version of HTML. As far as I can tell (and this is what I thought was the case), HTML has been superseded by XHTML.

QUOTE(bjrn @ May 13 2005, 04:38 AM)
The other assumption, that IE doesn't understand XHTML, is a fact. IE doesn't understand XHTML, it does parse it as tag soup, and it will totally break down if you send XHTML with the correct MIME type (application/xhtml+xml) instead of text/html.

Until this thread, I hadn't read too much up on this, but this thread has some useful info on it with both pros & cons. At the moment, it appears you are right about not all browsers interpreting XHTML properly when sent with the correct mime type, so it seems the main advantage is in 'future-proofing' your sites for when all browsers do accept application/xhtml+xml. To me, there doesn't seem to be much dispute about things going this way, so whether you do it now or some time in the future, it's still gonna need doing. To my way of thinking anyway.

Aside from the technical issues, I also think using XHTML/CSS forces you to become a better web designer. I know it has for me.

Reply

bjrn
Yeah, the W3C are working hard on writing XHTML specs, but there is also the WHATWG, which is working on "HTML5", or Web Applications 1.0 as it's currently called (note that they call it HTML5 in the DOCTYPE). Check out the WHATWG website, or read a bit of what Anne van Kesteren has written about it (Anne has a neat blog about markup related things).

I think the W3C will continue working on XHTML, but there seems to be a demand from both web developers and browser manufacturers for a new (backwards compatible) HTML.

Reply

Tyssen
Hmmm, it all seems a bit confusing at the moment - the two running parallel enabling backward & forward compatability. But it sounds like the choice of doctype you use should be determined by the type of content you intend putting on your site.

Reply

bjrn
Definitely. And I hope that IE will start supporting XHTML and/or more advanced browsers get a higher market-share. XHTML seems to have some neat potential things, dito for CSS3.

Reply

whyme
IE7 will be bringing upon huge expectations for all web designers alike, esp. CSS2 support and Code Validation.

Reply

Tyssen
QUOTE(whyme @ May 16 2005, 02:16 PM)
IE7 will be bringing upon huge expectations for all web designers alike, esp. CSS2 support and Code Validation.


It'll have to be exceptional for me to go back from using FF & Opera.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Similar Topics

Keywords : xhtml css web standards markup style guidebook

  1. Web Page Layouts - using Cascading Style Sheets (6)
  2. Fruity Loops Tutorials-trance Style Songs - How to create and use a profesional trance style bass mellody (11)
    Creating a bass mellody tutorial Software / fruity loops VST Plugins / Nexus,VANguard Song Style
    / Trance Tutorial Level / Beginner files needed to download bellow. ok to start I am going to
    teach you how to create what's sometimes referd to as a bass mellody. A bass mellody is used in
    most trance songs as its primary function is to fill out the song by this I mean make the song sound
    a bit fuller to add depth to it. a bass mellody is never made of more than a few note styles. see
    below In the above image you can see that I have use in all a total of t...
  3. Simple Xhtml Tutorial - Simple tutorial I wrote (17)
    Updated Version made on 3/5/06 Updates: 1.Made it for JUST XHTML 2.Differences from HTML section
    3.XHTML1.1 and 1.0 Welcome to my basic XHTML tutorial. ---DIFFERENCES FROM HTML--- The document must
    be well formed: -You can't have overlapping tags, for example: HTML em > p >hello /em > /p
    > -That is incorrect HTML em > p >hello /p > /em > -That is correct Tags must be all
    lower-case: -Tags are now case-sensitive HTML LI >List Item /LI > -Incorrect HTML li
    >List Item /li > -Correct Tags must be closed: -You must close all your tags HTML ...
  4. Saint Michael Xhtml Tips And Tricks #1 - xhtml= html 5.0 :P (3)
    Well by the many views i have seen on my web design issues i should go into new territory, so im
    going start with some useful xhtml info for you web design fenatics, the info i present to you is
    from other websites so be warned it might or might not work all depends but lets start off with the
    basic info for using xhtml. Also this tutorial is for beginners so i won't be doing any xml
    info due to it being a more server side then actually webdesign 1. DOCTYPE this is used to tell
    the browser what kind of infomation it will be displaying. nothing as really changed...



Looking for art, xhtml, css, web, standards, part, 1, markup, style, guidebook

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for art, xhtml, css, web, standards, part, 1, markup, style, guidebook

*MORE FROM TRAP17.COM*
advertisement



The Art Of Xhtml, Css And Web Standards - Part 1 - The Markup and Style Guidebook



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE