Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Persistent Syntax Error - HTML

Posted by: sheeny Dec 11 2023, 06:53 PM

Hi all, I have a persistent syntax error notification with my editor that I cannot get my head around. I have no problem tidying up any other errors that get flagged in my html except this one! I would be awfully grateful for any assistance offered!


HTML SYNTAX ERRORS IN (Filename)
The following HTML elements have problems



div.inner - is not properly closed (closing tag is section)


Here is my code: https://bit.ly/4adqiXZ

Thanks in advance!!

Posted by: coothead Dec 11 2023, 07:29 PM

Hi there sheeny,


here is your validated HTML...

Attached File  validation_test.html ( 7.43k ) Number of downloads: 43




coothead

Posted by: sheeny Dec 12 2023, 05:29 PM

QUOTE(coothead @ Dec 12 2023, 10:29 AM) *

Hi there sheeny,

here is your validated HTML...

Attached File  validation_test.html ( 7.43k ) Number of downloads: 43




coothead



Thank you!

Posted by: coothead Dec 12 2023, 06:56 PM

QUOTE(sheeny @ Dec 12 2023, 11:29 PM) *


Thank you!



No problem. you're very welcome. IPB Image

coothead

Posted by: CharlesEF Dec 12 2023, 09:24 PM

I hope you study coothead's example well. I ran your code through the W3 validator myself. It reported so many errors that it stopped after around 20 errors. The HTML you pointed to is not even valid HTML. You have placed the footer and script tags after the closing /html tag. And you can't have spaces in file name in an href attribute. The space must be converted to %20

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)