Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Fieldset issues amoung others

Posted by: biddlecom Dec 15 2019, 09:32 AM

I attached the file im having an issue with. IT has a mess of errors and I cant get past the fieldset error thats poping up. I also attached the css file. I have another 6 files for this school website project and all of them have zero issues but this one is a mess. Any help or explanations would be great. Thank you.


Attached File(s)
Attached File  contact.htm ( 3.1k ) Number of downloads: 93
Attached File  b3styles.css ( 631bytes ) Number of downloads: 72

Posted by: pandy Dec 15 2019, 12:56 PM

It's because of the closing slashes you have in all your INPUT tags. Remove them.

CODE

<input type = "radio"
      name = "date"
      id = "Mr."
      value = "Mr."
/>

^^


That's peculiar, because HTML5 allows XHTML slashes, even if they are ugly and pointless. I don't see why they mess things up for you, but they do. wacko.gif

Posted by: pandy Dec 16 2019, 10:39 PM

Can anyone else see why this happens?

Posted by: Christian J Dec 17 2019, 08:04 AM

On line 98 the SELECT end tag is missing, that's why the validator complains about the FIELDSET end tag. How did those closing slashes change things, pandy? unsure.gif

Also there are duplicate ID values on lines 103 and 109, and both the FORM and SECTION end tags are missing.

Posted by: pandy Dec 17 2019, 10:04 AM

All errors except a few disappeared when I removed the slashes. But they don't now. ohmy.gif

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