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 in Digital Marketing by Kichu
• 19,040 points
40 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 by narikkadan
• 10,840 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 in Others by narikkadan
• 10,840 points
27 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
492 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
4,519 views
0 votes
1 answer

Vertically centering text in a div

Try this code: .smallUnitBox { ...READ MORE

answered Sep 3, 2018 in Blockchain by digger
• 26,720 points
252 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,720 points
210 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,720 points
428 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,080 points
4,877 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,080 points
756 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP