Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation an attribute value specification must be an attribute value literal unless SHORTTAG Y

    Line 22, Column 46: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
    <img src = "image/wave.jpg" alt ="" height = 100px width = 970px/>


    Line 22, Column 60: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
    <img src = "image/wave.jpg" alt ="" height = 100px width = 970px/>

    ok first of all, im new to XHTML, so probably im not sure what's going on here.

    I have come across this error when i have checked with the w3c validator

    the first error had the "1" highlighted in "..alt = "" height = 100px w.. "
    and the next one the "9" was highlighted in "..width = 970px/>"

    What does this mean and how to solve this problem?

  • #2
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,300
    Thanks
    4
    Thanked 203 Times in 200 Posts
    Enclosed the height and width values in double quotes.

    Code:
    <img src="image/wave.jpg" alt="" height="100px" width="970px" />
    Dave .... HostMonster for all of your hosting needs

  • Users who have thanked djm0219 for this post:

    andrewer (08-01-2010)


  •  

    Tags for this Thread

    Posting Permissions

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