Need Help with Syntax Errors, Syntax Errors |
Need Help with Syntax Errors, Syntax Errors |
spinlady |
Oct 10 2018, 01:10 PM
Post
#1
|
Group: Members Posts: 6 Joined: 10-October 18 Member No.: 26,729 |
Greetings, All,
I’m new to HTML and CSS, and working with a Word for Mac file exported as HTML. It’s an 836-page ebook with 353 photos and 3,000 links. It looked and worked almost as I wanted it to right out of the chute. Working with BBEdit, I tinkered with it, and it looks and works perfectly in BBEdit preview, Kindle App for Mac, Kindle Previewer 3, Google Chrome, Firefox, Safari, Opera, and Vivaldi. Yet it has 4,721 syntax errors. Some I can fix, but as to the most of them I’m at a loss. The following 6 errors consistently repeat within the first 1,000 listed errors, and as the book is pretty consistent throughout, probably account for most of them. Any suggestions as to how to correct them would be greatly appreciated. 1. Warning: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead. From line 2322, column 68; to line 2322, column 89 <p class="Titles" style='margin-bottom:0cm;margin-bottom:.0001pt' ><a name="Title_Page" ></a><a href="#TOC" ><span lang=EN-US ><img alt="Title Page" width="100%" height="auto" id="Picture 24" 2. Error: Bad value 100% for attribute width on element img: Expected a digit but saw % instead. From line 2322, column 128; to line 2323, column 73 ng=EN-US ><img alt="Title Page" width="100%" height="auto" id="Picture 24"↩src="_____ms_spinsters_save_to_web_utf_8_sept_22_18_files/image001.png" ></span 3. Error: Bad value auto for attribute height on element img: Expected a digit but saw a instead. From line 2322, column 128; to line 2323, column 73 ng=EN-US ><img alt="Title Page" width="100%" height="auto" id="Picture 24"↩src="_____ms_spinsters_save_to_web_utf_8_sept_22_18_files/image001.png" ></span> 4. Error: Bad value Picture 24 for attribute id on element img: An ID must not contain whitespace. From line 2322, column 128; to line 2323, column 73 ng=EN-US ><img alt="Title Page" width="100%" height="auto" id="Picture 24"↩src="_____ms_spinsters_save_to_web_utf_8_sept_22_18_files/image001.png" ></span> 5. Error: The clear attribute on the br element is obsolete. Use CSS instead. From line 2325, column 75; to line 2326, column 44 Roman"' ><br↩clear=all style='page-break-before:always' >↩</spa 6. Error: The align attribute on the p element is obsolete. Use CSS instead. From line 2365, column 1; to line 2366, column 36 ></span>↩↩<p class=MsoNormal align=center style='margin-bottom:0cm;margin-bottom:.0001pt;↩text-align:center;text-indent:0cm' ><span From line 2380, column 1; to line 2380, column 61 </a></p>↩↩<p class=SingleSpace align=center style='text-align:center' ><b ><s From line 2551, column 1; to line 2551, column 56 pan></p>↩↩<p class=Headings14 align=left style='text-align:left' ><span Many thanks in advance for any assistance you can offer. David |
Lo-Fi Version | Time is now: 19th April 2024 - 03:17 PM |