Welcome to TalkGraphics.com
Page 1 of 6 123 ... LastLast
Results 1 to 10 of 55
  1. #1
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default HTML Markup Validation: Your thoughts.

    In a recent thread that strayed off topic and ended with Remi highlighting errors within Xtreme generated script and John (Rayner) pooh-poohing the need for strict script adherence, I would be interested in members views on this matter.

    From the outset I'll admit I avoid html wherever possible. I create my sites almost exclusively in Flash to avoid such matters.

    My own personal view is that the greatest perpetrators of html anomalies are the browser software creators themselves and this has led to the need for this evangelistic validation of your html.

    Beyond this, a lot of this validation code is to do with accessibility which is admirable but in a commercial world not always practicable. Often the devil is in the detail and the final part of achieving this accessibility can become an additional 40% of the build.

    Who is going to pay for this extra work? The Client? You?

    As a small example: If you run your brand new stonking site through "validation_r_us" or such similar site it often comes up with such errors as missing ALT tags.

    Oh my, oh me, what am I to do, I wont get my site accredited with WC3 or whoever and have that snazzy little logo of theirs.

    ALT tags are meant to give visitors who can't view an image an alternative textual information re that image.

    So now, having noted the missing ALT tags, I add the ALT tag to every image on my site ALT = "bumf".

    I rerun my site through "validation_r_us" and hey presto I pass.

    Over to you folks .........
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  2. #2
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    724

    Default Re: HTML Markup Validation: Your thoughts.

    Quote Originally Posted by Egg Bramhill View Post
    My own personal view is that the greatest perpetrators of html anomalies are the browser software creators themselves and this has led to the need for this evangelistic validation of your html.
    This is not just your personal view - it's the truth

    HTML validators shouldn't be taken too strictly. They're good for checking your HTML for errors that you want to and should correct. But You shouldn't aim to have your code 100% valid, because this will give practical problems which wouldn't exist if you wouldn't be so rigid in checking your code.
    I've come across certain errors in the past and really wanted to solve them in order to place that neat little W3C-valid-icon-thingy on my webpage. But I found that there was really not much I could do: in trying to solve the errors, the page wouldn't render correctly in IE or other browsers (reason = what you pointed out above).
    It's not until recently that I've become more flexible with the HTML validator and only fixed the errors that give the users (let's face it, it's all about the users) the wrong results when viewing the page. The rest of the "errors" are invisible to 99.999%, if not all, of the users. Screw teh HTML-Valid-icon.
    E.g. the img alt="..." is only necessary in emergency situations where the image doesn't load and you wanna give the user an idea of what the image was supposed to display. The thing is that in being flexible, it means you need to make up your own mind about how much flexible you want to be: do (or should) you really care about the users who can't see the image because it didn't load properly or do you think these users can do without it? How crucial do you find this image is to your webpage etc.? Flexibility differs per person.

    HTML-valid code is not practical code. Don't be a cyborg. Be more flexible. Correct your HTML code for the users, not because you want a W3C icon on your page

  3. #3
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: HTML Markup Validation: Your thoughts.

    If the HTML validation is to support accessability, I recommend using some of the accessability features to test it for yourself.

    Those Alt tags are sometimes more distracting than helpful when using a text reader.

    A beautiful layout can make the site very difficult for someone using magnification to read the text.

    Try turning off display of images in your browser and see how those style sheets render your site. Or how a text reader conveys the information.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  4. #4
    Join Date
    Jan 2006
    Posts
    2,439

    Default Re: HTML Markup Validation: Your thoughts.

    Producing a correct and quality HTML code has nothing to do with being evangelistic. The reason for that is also not the W3C logo on your page.

    Read the following text and learn about the true reasons:


    btw: If you want to produce quality work, you has to know the rules to produce it. For creating a webside this means at least using correct HTML. I don't say, that it's always possible to code a webpage 100% HTML conform, but you shouldn't ignore the rules at all - unless "quality work" is not your thing or you are ignorant to people with disabilities (in my eyes they earns a proof of respect).

    Remi
    Last edited by remi; 15 July 2007 at 12:51 PM.

  5. #5
    Join Date
    Mar 2006
    Posts
    1,570

    Default Re: HTML Markup Validation: Your thoughts.

    If the Internet and the Web had to wait on complying with W3C, 99.9 percent of the Web or the Internet wouldn't exist today.

    W3C is guidance not the rule.

  6. #6
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,309

    Default Re: HTML Markup Validation: Your thoughts.

    welcome back james

    if you provide a public service for example, then you need accessibility and validation is important, so as not to disenfranchise.

    if you simply sell stuff, then its your marketing decision as to how far you go - who you wish to reach.

    and if you simply put stuff up for people to look at, then you do your own thing period.

    just my 2 bobs worth as they say.....
    -------------------------------
    Nothing lasts forever...

  7. #7
    Join Date
    Jan 2006
    Posts
    2,439

    Default Re: HTML Markup Validation: Your thoughts.

    Quote Originally Posted by jamesmc View Post
    W3C is guidance not the rule.
    1. HTML is a markup language.
    2. Each language has a syntax with rules to follow them.
    3. HTML is standardized by the W3C and there exists some different HTML versions you can use for your projects.
    4. Some of the elements/structures of a HTML page are only "recommendations" from the W3C. Sometimes you "must" follow them, sometimes you "should" or it's only "recommended" or "optional". If you don't follow the constraints of their specifications, your HTML page is not valid HTML (then you break the rules and not a guidance). Sometimes there could be some good reasons to break the rules, but there is a difference if you know the rules and differ in some small points or if you don't know the rules or choose to ignore them.


    Remi
    Last edited by remi; 15 July 2007 at 04:09 PM.

  8. #8
    Join Date
    Mar 2006
    Posts
    1,570

    Default Re: HTML Markup Validation: Your thoughts.

    java is not html nor governed by W3C.
    PhP is not html nor governed by W3C.
    SQL is not html nor governed by W3C.
    SVG is not html nor governed by W3C.
    FLASH Generated Site is not html nor governed by W3C.

    Strict adherence to XML, HTML is a pipe dream and will always be ignored by innovators.

    Making a Web page is an individual issue unless you work for some company or client that requires strict compliance.

    If you are not restricted by employment, W3C is just three letters that is mostly meaningless to most people who do Web Work.

  9. #9
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: HTML Markup Validation: Your thoughts.

    Interesting points of view!

    I've no quibble about making sites open to ALL viewers and I understand the ideal behind such motives, at the same time I find drivel like this below infuriating ( From a validation engine) :

    1.1 Validate that the alt text does not use the word image When users add alternative text to an image they tend to add the word "Image" when it really says nothing about the image, but describes the object versus the meaning of the object. This check will fail a page for the use of the word image in the alternative text.
    Taking Remi's point:
    .... but there is a difference if you know the rules and differ in some small points or if you don't know the rules or choose to ignore them.
    99% of the web creators have no idea of the rules (Me included and Who's rules)
    Last edited by Egg Bramhill; 15 July 2007 at 05:49 PM.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  10. #10
    Join Date
    Jan 2006
    Posts
    2,439

    Default Re: HTML Markup Validation: Your thoughts.

    Quote Originally Posted by jamesmc View Post
    java is not html nor governed by W3C.
    PhP is not html nor governed by W3C.
    SQL is not html nor governed by W3C.
    SVG is not html nor governed by W3C.
    FLASH Generated Site is not html nor governed by W3C.
    Sorry James, but I don't understand the logic behind your list. Java and PHP are programming languages. SQL is a computer language designed for the retrieval and management of data in relational database management systems, database schema creation and modification, and database object access control management. SVG is a XML markup language for describing two-dimensional vector graphics and animations. Flash is the better alternative of SVG together with ActionScript.

    You can output HTML with programming languages like Java or PHP, but if you do that, you has to play with the rules of the HTML specification, which is maintained by the World Wide Web Consortium (W3C) since 1996.

    Quote Originally Posted by jamesmc View Post
    Strict adherence to XML, HTML is a pipe dream and will always be ignored by innovators. ...W3C is just three letters that is mostly meaningless to most people who do Web Work.
    I do not agree.

    Remi

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •