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 4 1 2 3 ... LastLast
Results 1 to 10 of 40
  1. #1
    Senior Member Bazrazmataz's Avatar
    Join Date
    Jan 2004
    Location
    Newcastle England
    Posts
    341
    Member #
    4454
    Hi

    Is there a utility that will clean up your html code into xhtml 1.0 compliant code ? Or is the only way to do this to manually work through the code.

    Cheers
    Whats the matter the CIA got u pushing too many pencils ???

  2.  

  3. #2
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Its not really all that hard for you to go through it yourself - just take any tags that don't need a closing tag (ie. img and br) and replace the last ">" with " />" Then make sure all of your attributes (ie. width="14") have quotes... each one needs them! Also make sure the attribute titles (mainly onMouseOver, etc.) are all lowercase.

    Check out the W3 site to catch any other changes
    http://www.w3.org/TR/xhtml1/#diffs


    Edit: Or you can just run it through the validator Just choose your favorite XHTML flavor from the dropdown box!

  4. #3
    Senior Member Bazrazmataz's Avatar
    Join Date
    Jan 2004
    Location
    Newcastle England
    Posts
    341
    Member #
    4454
    Right so onMouseOver should be onmouseover ! I downloaded something called html tidy but i couldnt work out how to use it. Can you download a validator so that i can check ive done it right before i have to set off to my internet connection to upload it?
    Whats the matter the CIA got u pushing too many pencils ???

  5. #4
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    http://validator.w3.org/ you can upload your files
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  6. #5
    Senior Member Bazrazmataz's Avatar
    Join Date
    Jan 2004
    Location
    Newcastle England
    Posts
    341
    Member #
    4454
    What the hell does this mean??

    I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to reliably validate the document. I'm falling back to the "UTF-8" encoding and will attempt to perform the validation, but this is likely to fail for all non-trivial documents
    Whats the matter the CIA got u pushing too many pencils ???

  7. #6
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    I think Dreamweaver is capable of cleaning up all the tedious parts such as adding "quotes" and making code lowercase. Just remember to get rid of the top-line it inserts that sends IE into 'quirks mode'. Should work on MX upwards...

    Open DW > Commands > Clean up xhtml.

  8. #7
    Senior Member Bazrazmataz's Avatar
    Join Date
    Jan 2004
    Location
    Newcastle England
    Posts
    341
    Member #
    4454
    What does this mean to:

    Line 127, column 61: required attribute "alt" not specified

    ..."Image6" width="60" height="50" border="0" id="Image6" />

    Sorry for being a dumb ***
    Whats the matter the CIA got u pushing too many pencils ???

  9. #8
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    <img src="image/path.gif" width="x" height="x" alt="Alternate description must go here." /> or if you don't have anything useful to write, if it's simply a layout slice for example then just leave it blank ...alt="" />

    *EDIT*

    Place this in the <head></head> of your xhtml pages.

    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

  10. #9
    Senior Member Bazrazmataz's Avatar
    Join Date
    Jan 2004
    Location
    Newcastle England
    Posts
    341
    Member #
    4454
    This too i dont understand these are the only two errors i get

    Line 248, column 41: there is no attribute "background"

    <td colspan="10" valign="top" background="images/map1.jpg"

    This background one only appears once but in my code the word background is present many times!
    Whats the matter the CIA got u pushing too many pencils ???

  11. #10
    Senior Member Bazrazmataz's Avatar
    Join Date
    Jan 2004
    Location
    Newcastle England
    Posts
    341
    Member #
    4454
    Will it matter if i just change all the alt errors to alt="" or is it important i give them a name
    Whats the matter the CIA got u pushing too many pencils ???


Page 1 of 4 1 2 3 ... 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 03:17 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com