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 Coder
    Join Date
    Feb 2009
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    This page contains the following errors: error on line 18 at column 11: attributes co

    I'm having problems identifying what is causing this error, any help with a fresh set of eyes?
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:ibooks="http://apple.com/ibooks/html-extensions">
    
    <head>
    <meta name="viewport" CONTENT="width=738,height=985"></meta>
    <meta CONTENT="text/html; charset=UTF-8"></meta>
    <title>Xxxxx</title>
    <link HREF="css/3950906A-0B6A-46CA-958A-9DB22A232ED5.css" TYPE="text/css" REL="stylesheet"></link>
    </head>
    
    <body>
    
    <div CLASS="page">
    <span id="word0"></span>
    <img CLASS="background" SRC="images/79DA61A7-41C9-43B7-889D-9B791F171D28.jpg" ALT="image" />
    
    <img CLASS="ibooks-media-audio"data-ibooks-audio-src="audio/nigerianNumbersPage1.m4a" 
    id />="image1" src="images/2445D9BD-1619-40A9-A1C6-D159EE05DC84.jpg" alt="image" />
    <p>
    <br/>
    </p>
    </div>
    
    </body>
    </html>
    Last edited by Alex Vincent; 09-02-2012 at 04:22 PM. Reason: adding code tags

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,460
    Thanks
    1
    Thanked 23 Times in 21 Posts
    Two possible problems:

    <img CLASS="ibooks-media-audio"data-ibooks-audio-src="audio/nigerianNumbersPage1.m4a"
    id />="image1" src="images/2445D9BD-1619-40A9-A1C6-D159EE05DC84.jpg" alt="image" />

    1. no space after the closing quote of the attribute
    2. no element started for the self-closing tag (you closed it earlier)
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog


  •  

    Posting Permissions

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