The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Persistent Syntax Error - HTML, Assistance required
sheeny
post Dec 11 2023, 06:53 PM
Post #1





Group: Members
Posts: 2
Joined: 11-December 23
Member No.: 29,098



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: HTML CODE

Thanks in advance!!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
coothead
post Dec 11 2023, 07:29 PM
Post #2


Advanced Member
****

Group: Members
Posts: 206
Joined: 12-January 23
From: chertsey, a small town 25 miles south west of london, england
Member No.: 28,743



Hi there sheeny,

here is your validated HTML...

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




coothead
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
sheeny
post Dec 12 2023, 05:29 PM
Post #3





Group: Members
Posts: 2
Joined: 11-December 23
Member No.: 29,098



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: 35




coothead



Thank you!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
coothead
post Dec 12 2023, 06:56 PM
Post #4


Advanced Member
****

Group: Members
Posts: 206
Joined: 12-January 23
From: chertsey, a small town 25 miles south west of london, england
Member No.: 28,743



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


Thank you!



No problem. you're very welcome. IPB Image

coothead
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post Dec 12 2023, 09:24 PM
Post #5


Programming Fanatic
********

Group: Members
Posts: 1,981
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

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: 27th April 2024 - 08:38 AM