Questions tagged [w3c-validation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
1k views

W3C Validator: Attribute “controlslist” not allowed on element “audio” at this point

I don't understand this Error I am receiving from the W3C Validator. Attribute “controlslist” not allowed on element “audio” at this point. Here's my HTML (from Drupal 8): <audio controls="&...
Patrick Kenny's user avatar
1 vote
0 answers
20 views

Does the "v.Nu" HTML/CSS validator program send anything over the network?

I have finally found a HTML (and CSS) validator running on the command line, locally, which actually works and doesn't want me to pay them money. It appears to work. I already use it. It's this one, ...
Prabjot's user avatar
  • 11
0 votes
1 answer
292 views

<meta> for RDFa: "Attribute 'src' not allowed on element 'meta' at this point."

I have this code for Schema.org; <main vocab="http://schema.org"> <article typeof="NewsArticle"> <h2 property="headline">Wie instaliert Virtual Box in Windows 10</h2> ...
biotza's user avatar
  • 161
4 votes
1 answer
773 views

Can I use <icon> element in HTML5? It fails the W3C validator

When I go to the W3C validator service, to try out if it complains about using an <icon> element, with this example: <!doctype html> <html lang="en"> <head> <title>...
Digital Ninja's user avatar
2 votes
2 answers
937 views

Should I ignore W3 CSS Validation Service?

I just checked my site with W3 CSS Validation Service. It had more than 200 errors. Then I checked many sites including Stack OverFlow. Here is the results of Stack OverFlow. SO also has 108 errors. ...
I am the Most Stupid Person's user avatar
1 vote
1 answer
54 views

why and where should i write strict code like xhtml [closed]

I just start to learn web programming, first lesson we study html, I believe our text book content is out of date? It state XHTML is the future... But I seldom hear about it today now? I Google and ...
user avatar
2 votes
1 answer
3k views

itemprop for canonical link and meta description in the head

I've a problem with validation of the code provided by Google. Idea is (simplified): <head itemscope itemtype="http://schema.org/WebSite"> <title itemprop="name">Example.com - Best ...
Mike's user avatar
  • 169
1 vote
1 answer
2k views

Each of my media queries is getting a parse error when I try to validate css

I am trying to validate a css file. Every one of my media queries is getting a parse error. I have checked and I do not have any missing curly brackets, colons, or semi-colons. I also set the W3C ...
as_whitley's user avatar
3 votes
5 answers
463 views

Is using the <u> tag invalid or bad for SEO?

A few years back in about 2010 I ran the W3C.org validity checker tool on a Drupal 6 website that is no longer exist and I clearly remember getting a message like "usage of <u> tags isn't valid" ...
user avatar
1 vote
1 answer
43 views

First I'm told to avoid table for layout and now using floats is bad for mobile?

I ran my mobile home page through the website validator at: https://validator.w3.org/ and it complains that: The CSS style sheet contains rules referencing the position, display or float properties ...
Mike -- No longer here's user avatar
2 votes
2 answers
160 views

Can I include title for an HTML5 a element?

Can I add title attribute for "a" element in HTML5? The spec does not mention title attribute for "a" element here http://www.w3.org/TR/html-markup/a.html, so for example, would it be valid to use &...
giorgio79's user avatar
  • 199
1 vote
1 answer
285 views

What is the correct DTD for Schema DATA placement in XHTML pages?

We get W3C validation error after placing Scheme Data in our website which was built in XHTML. Line 198, Column 41: there is no attribute "data-id" <script type="IN/FollowCompany&...
Macronimous's user avatar
2 votes
1 answer
357 views

As per W3C can we add onclick inside li tag?

I have 2 questions: As W3C can we add onclick inside <li> tag? Will this affect anything to do with SEO? For example: <li onclick="newDoc()">Click!</li> function newDoc() {...
Sudheera Njs's user avatar
0 votes
1 answer
316 views

the right way of specifying website files in html [closed]

i specify my website's internal files like this for my website: www.mscaspian.com ` but when i validate it with w3c it says there is an error in the last part, '>' . i don't understand why this is ...
user avatar
0 votes
1 answer
722 views

How to add custom CSS for Addthis and validate on W3C validator?

I have Addthis code on the very bottom of the page HTML code, and then, after it I have CSS file with some custom decorations of Addthis widget. Everything looks like this: <script type="text/...
CamSpy's user avatar
  • 1,619
3 votes
1 answer
6k views

W3C validation error: aria-controls attribute must point to an element in the same document

I'm running my website through the W3C Markup validator and I'm getting the following error: The aria-controls attribute must point to an element in the same document. …"ui-accordion-1-header-2" ...
Stephen Connolly's user avatar
8 votes
3 answers
7k views

Using Schema.org logo markup with SVG images

I've made a logo which is awesome and I've saved it in AI and SVG format. I wish to use the SVG file on the a site as the logo will appear many times all over the site and would be better than saving ...
Simon Hayter's user avatar
1 vote
2 answers
1k views

Cannot solve errors on W3C validator

I have found a webpage that can check for errors in my webpage's code. Here are the errors I couldn't solve: End of file seen and there were open elements. Unclosed element div. <div id="...
Gio's user avatar
  • 83
1 vote
2 answers
871 views

Using Google pagespeed service - w3 validator gives errors

I've started using google pagespeed service and now when I check my site on http://validator.w3.org/ with doctype HTML5 and encoding UTF8 - I'm getting more than 80+ errors and 95% of them are errors ...
Gublooo's user avatar
  • 143
8 votes
4 answers
7k views

Does Google consider W3C validation errors of a website? If so why www.google.com has 23 Errors, 4 warning(s)

Some SEO analysts says that fixing W3C validation errors of a website is an important On Page Optimization if so why www.google.com has 23 W3C validation errors, 4 warning(s)? Does Google consider ...
Sathiya Kumar V M's user avatar
5 votes
2 answers
4k views

HTML5+Microdata validation errors: Attribute 'content' not allowed on element 'p'

According to Google’s documentation about the Product Rich Snippet, when I want to mark product’s availability in my shop, I should do the following (using Microdata): <span itemprop="availability"...
Al W's user avatar
  • 225
21 votes
3 answers
30k views

Name attribute is obsolete, what is the correct behavior when dealing with anchors?

When testing my code using the w3 html5 validator, I get this warning message: Warning: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead. Question(...
Kzqai's user avatar
  • 1,332
12 votes
3 answers
38k views

Is it valid to have multiple form input elements with the same name?

Is it valid markup and is it valid to the HTML/HTTP spec? If I wanted to have <form> <input name="email" /> <input name="email" /> <input name="email" /> </form> is ...
Ryan Detzel's user avatar