Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: W3 VALIDATOR.

  1. #1
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    OMG rip my face off at the w3 validator lol.

    just a note to those new like me to design.
    make sure you are using the right DTD for your doc
    before trying to validate or you will need a lot of aspirin.

    while($get_it !== true){ continue; }

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    I'm never sure about whether to go "transitional", "strict", or whatever.
    I do know that as long as it validates somehow, it seems to render better
    on all browsers ... so I guess validating is a good way to check one's own coding.
    It helps find possible HTML and CSS errors that might end up as a train wreck.

    One might say W3C is a tool, not a requirement?


  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    It's actually only a recommendation, but the point is if everybody followed it, there would be a de facto standard and rendering issues would disappear.

    I use XHTML 1.0 Strict.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    well for some reason it didnt like me using strict with xhtml css and php all in one file lmao. so transitional it was.

    while($get_it !== true){ continue; }

  6. #5
    Senior Member
    Join Date
    Dec 2008
    Posts
    483
    Member #
    17875
    Liked
    1 times
    php just outputs html, so that means nothing.
    pull your page up in a browser > view source> and validate by direct input.

    Also, you should pretty much always use strict unless you have a good reason not to.

    Good reasons:
    • You need to use an iframe, and cant find any other way to accomplish what you want to do.
    • You dont know how to use javascript solutions to load flash and want to use the <embed> tag.
    • You need to embed pdfs, videos, etc, and dont want to use a flash/javascript solution and there is a lack of cross browser/platform support for the <object> tag so you MUST use an embed tag.

  7. #6
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    ok very interesting, how do you do this in a browser. i know how to view source but thats it. keep in mind i use firefox. and i do use iframes but not as a replacement for flash anymore then youtube uses frames to replace flash. and i do intend in the future to use embed for local shows in my area. im starting a locals page to get some exposure and will be using mp4, its crossplatform and not 3rd party software relient. so if you have some advice about embed that would be way cool. but back to the strict with iframes, why is that not allowd in strict? and also the validator gave me errors on html that had not met the conditions(if) to be read?

    thanks in advance.

    while($get_it !== true){ continue; }

  8. #7
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    oh yes but they did have a very cool suggestion tool

    while($get_it !== true){ continue; }

  9. #8
    Senior Member
    Join Date
    Dec 2008
    Posts
    483
    Member #
    17875
    Liked
    1 times
    Open your page that has been processed by your server (all the php will be gone, it will be pure html).

    Click View Source>Click CTRL+A (select all)>Click CTRL+C (copy)

    Open W3C validator, and theres a tab called Validate by direct input, click that.
    Click CTRL+V (paste).

    Click validate.

    Frames are not allowed in strict because they decided it shouldnt be.
    Dont ask me why.

    If you need to conform to standards and load things into a "frame" why not just use seperate divs? Or use the <object> tag. Embedding flash can be done to standards using jquerys .flash() method, or using swfobject.js or swfobject as a jquery plugin.
    All 3 will validate.

    <object> can load PDF, MP3, MP4, flash.
    Some of the support is bad across browsers
    For example: the same object tag may work in FF and safari but may not work
    in IE

  10. #9
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    yes i know how to cut and paste via hot key lol.
    and i have used <embed> on several private projects that i cross tested in
    IE7 IE8 FIREFOX3 GALEON OPERA KONQUEROR
    SAFARI & SEAMONKEY without any problems
    and i gather by your comparison of iframes and divs you have never used an iframe. go to my site to see just why i use iframes. and yes this could be done dynamically but a page refresh would take longer.

    while($get_it !== true){ continue; }

  11. #10
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    keep in mind i am only new to design. i have been building and repairing computers for 15 years and i used to write programs in basic. back when you had to set jumpers for voltage on the motherboard. remeber the 386/486 and AT.
    my first pc had 4 hdd and still didnt have a full gig of disk.

    while($get_it !== true){ continue; }


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:32 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com