The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Need Help with Syntax Error
post Nov 10 2019, 12:29 PM
Post #1

Group: Members
Posts: 6
Joined: 10-October 18
Member No.: 26,729


I'm hoping you people can tell me how to correct an html syntax error (14 occurrences) in an ebook file.

Error: File___witch_of_sulphur_mountain_kindle_filtered.html; Line 2336:
Value of attribute ”id” for element <img> must begin with one of {A-Z,a-z} followed by zero or more of {A-Z,a-z,0-9, . . .}.

Line 2336:
<p class=MsoNormal style='text-align:center'><a name="Agnes_16"></a><a
href="#Photos"><span style='font-size:16.0pt;color:windowtext;text-decoration:
none'><img class="pixels" width=385 height=538 alt="Agnes,
aged 16, high school graduation photo, 1923" id="Picture 33"

As far as I can tell it follows the same form, including spaces, as my previous book, example below, in which there are no syntax errors, and all the links work.

<p class="Titles" style='margin-bottom:0cm;margin-bottom:.0001pt' ><a id="Title_Page" ></a><a href="#TOC" ><span lang=EN-US ><img class="pixels" alt="Title Page" id="Picture24" src="_____ms_spinsters_save_to_web_utf_8_sept_22_18_files/image001.png" ></span></a></p>

The following example is from my current file that flags it as a syntax error:

<p class=MsoNormal style='text-align:center'><a id="Meher_Mount_1956"></a><a href="#Photos"><span style='color:windowtext;
text-decoration:none'><img class="pixels" alt="Meher Mount, circa 1956" id="Picture 15" src="___witch_of_sulphur_mountain_kindle_filtered.fld/image003.jpg"></span></a></p>

Thanks kindly for any assistance you can offer.

David Madison
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


- Lo-Fi Version Time is now: 28th February 2020 - 05:05 PM