W3C validation

0 votes

 my site does not "validate", yet it works across every major browsers, does not produce errors in those browsers and looks correct in all browsers.

This is an example of an error I get

Error Line 38, Column 28: document type does not allow element "h3" here

var $jsuccessmessage = "<h3>We will be in contact soon. </h3>"; // success mess…

The element named above was found in a context where it is not allowed. This
could mean that you have incorrectly nested elements -- such as a "style"
element in the "body" section instead of inside "head" -- or two elements
that overlap (which is not allowed).

So I ask, how important is it that I correct these errors and do my best to produce fully validated code?

Feb 28, 2022 in Digital Marketing by Kichu
• 19,040 points
754 views

1 answer to this question.

0 votes
You should use W3C conventions as much as possible and these convention are going to be the most cross-browser compatible. That being said not all browsers implement W3C standards properly or completely. You will find that you have to break compliance to adjust for these quirks. It is not as bad as it used be, as the main culprit, Internet Explorer has been more accepting of standards.
answered Mar 1, 2022 by narikkadan
• 63,600 points

Related Questions In Digital Marketing

0 votes
1 answer

Is W3C validation important?

try using use W3C conventions as much ...READ MORE

answered Feb 26, 2022 in Others by narikkadan
• 63,600 points
450 views
0 votes
0 answers

Are (non-void) self-closing tags valid in HTML5?

On non-void elements, self-closing tags (those that ...READ MORE

Jul 26, 2022 in HTML by Ashwini
• 5,430 points
458 views
0 votes
1 answer

How blockchain hides it's HTML source?

When you click View Source, you see ...READ MORE

answered Jul 17, 2018 in Blockchain by Shashank
• 10,400 points
1,209 views
0 votes
2 answers

Define a SQL query? What is the difference between SELECT and UPDATE Query? How do you use SQL in SAS?

HI.. SQL is Structured Query Language, which is ...READ MORE

answered Aug 8, 2020 in PHP by anonymous
10,539 views
0 votes
1 answer

Cross Validation

Cross-validation is a model validation technique for ...READ MORE

answered Jul 17, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
621 views
+1 vote
1 answer

Difference between validation set and a test set

Validation set can be considered as a part ...READ MORE

answered Jul 24, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
1,350 views
0 votes
1 answer

Django form validation: making “required” conditional?

This is done with the clean method on the ...READ MORE

answered Aug 30, 2018 in Python by Priyaj
• 58,020 points
6,390 views
0 votes
1 answer

Amazon SQS FIFO Queue send message validation

Assuming you only have one process adding ...READ MORE

answered Sep 7, 2018 in AWS by Priyaj
• 58,020 points
1,474 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP