Is W3C validation important

0 votes

I read about validation from many sources and most will say always validate your web page. It is important that your page validate.

I understand the concept. But 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 25, 2022 in Others by Kichu
• 19,050 points
268 views

1 answer to this question.

0 votes
try using use W3C conventions as much as possible and these convention are going to be the most cross-browser compatible.

Sites don't need to comply to W3C standards to work across browsers Having valid code is just "the right thing" to do,

Everything you build that is non-standard anchors you in the present and leaves you stuck in the past next month. There's no good reason to wear concrete boots when surfing and even less reason for your clients to wear them.
answered Feb 26, 2022 by narikkadan
• 63,700 points

Related Questions In Others

0 votes
4 answers

**Important: Edureka Tech Career Guide is out!

This is one of the best things one ...READ MORE

answered Apr 25, 2019 in Others by Gitika
• 65,910 points
954 views
0 votes
0 answers

LF will be replaced by CRLF in git - What is that and is it important?

I was trying to create a new ...READ MORE

May 16, 2022 in Others by Kichu
• 19,050 points
720 views
0 votes
0 answers

why linux is more secure than windows?

which features make linux more secure than ...READ MORE

Jul 12, 2018 in Others by kristena1234
• 160 points
379 views
0 votes
1 answer

why linux is more secure than any other operating system?

First thing i would like to tell ...READ MORE

answered Jul 12, 2018 in Others by kristena1234
• 160 points
2,254 views
0 votes
1 answer

W3C validation

You should use W3C conventions as much ...READ MORE

answered Mar 1, 2022 in Digital Marketing by narikkadan
• 63,700 points
559 views
0 votes
1 answer

Is it bad practice to use spans as "buttons"? W3Schools is doing that

it wont become a bad practice if ...READ MORE

answered Feb 26, 2022 in Others by narikkadan
• 63,700 points
589 views
0 votes
1 answer

Is it bad practice to use spans as "buttons"? W3Schools is doing that

yes to be precise it a bad ...READ MORE

answered Mar 1, 2022 in Digital Marketing by narikkadan
• 63,700 points
498 views
0 votes
0 answers

Tick symbol in HTML/XHTML

I need to display a tick symbol ...READ MORE

Jun 3, 2022 in HTML by Tejashwini
• 3,820 points
259 views
+2 votes
2 answers

Is Reactjs SEO friendly? with google bots

Yes, with SERVER-SIDE RENDERING you will not face ...READ MORE

answered Feb 10, 2022 in Others by Shreesh
• 160 points
2,329 views
0 votes
1 answer

What are the important meta tags I must put in my website? [closed]

Regular meta info <title>{{pageTitle}}</title> <meta charset="utf-8"><!-- html5 version ...READ MORE

answered Feb 11, 2022 in Others by narikkadan
• 63,700 points
336 views
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