Questions tagged [validation]
Validation is used to check data to make sure it fits whatever required specifications are set for it. Typically Validation is used in checking input data, and in verifying data before storage.
58
questions
57
votes
17
answers
3k
views
HTML validation: is it worth it?
What are the advantages and disadvantages (if any) of making sure that all pages validate compared to having non-valid HTML that however works on all major browsers?
Also, is having valid HTML after ...
27
votes
2
answers
31k
views
Is using nested spans in HTML 5 valid?
Is it standard in HTML 5 if we use span in span?
<span class="fake-input">
<span id="fake-input"></span>
<span id="deftext">No file selectedspan</span>
</span>
24
votes
6
answers
13k
views
How can I validate HTML offline? [closed]
When I'm developing a website locally sometimes I want to check if the html is valid but I haven't been able to find a good tool. I want it partial as a sanity check when I'm troubleshooting layout ...
20
votes
1
answer
8k
views
Any way to validate Schema.org JSON-LD before publishing?
I have a site with a lot of data, and I'm dynamically building JSON-LD data that I think is Schema.org correct. I can't find a dead-on example on Schema.org, and it will take forever if I have to ...
17
votes
8
answers
558
views
Effective captcha solutions [duplicate]
Possible Duplicate:
How can I prevent spam on sites which I control?
ReCaptcha is all the rage at the moment,
Based on customer/user feedback, what other captcha or general human verification ...
12
votes
2
answers
7k
views
Is <a href="#">link</a> a broken link?
When using empty URL fragment links, to send a user to the top of the page (e.g. <a href="#">return to top</a>), are these links considered broken or invalid? One of my tools is returning ...
10
votes
3
answers
2k
views
input type="email" allows test@test, why?
I've always been under the assumption that the browser email-validation-regex is more robust than some regex pattern in JS/PHP.
My employer just showed me that both strings are considered correct (at ...
9
votes
1
answer
2k
views
OpenGraph tags and HTML5 validity
I have a HTML5 based page, and I inculded the OpenGraph tags according to it's documentation. Also I checked with Facebook Debug, and it can parse the metadata.
But when I use W3C Validator, it ...
8
votes
3
answers
2k
views
Is it possible to confirm a person's name without a creditcard number?
Looking for a way to confirm user supplied names without asking for a creditcard number.
Requirements:
Method must be automated, and not
require manual processing,
Work 80% of the time or more.
Be "...
8
votes
5
answers
6k
views
Linux HTML/XML W3C Validation Utilities [closed]
What programs can I use to validate HTML/XML markup?
Basically, I want a local, command-line based, version of W3C HTML validation service (like lint) that I can use for detecting errors.
Update
I ...
7
votes
4
answers
2k
views
Does valid HTML, CSS and/or XML affect SEO?
Can a page's HTML validity affect search engine optimization (SEO)?
Assuming all other factors are exactly equal, will an HTML document with 0 errors and 0 warnings (W3C provides a tool to validate ...
6
votes
3
answers
1k
views
Should search engine validation meta tags be removed following validation?
Should validation meta tags for search engines be left on the site following validation? For example, should I leave my msvalidate meta tag after I've validated the site.
6
votes
2
answers
3k
views
Schema.org, HTML5 and the datetime format: how do I get it to validate?
Schema.org says this,
The opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas ',' ...
5
votes
1
answer
2k
views
Google Structured Data Testing Tool Repeat Error: "The URL could not be rendered. Some markup may be missing."
When using Google's Structured Data Testing Tool, I consistently get the error:
The URL could not be rendered. Some markup may be missing.
I have identified and fixed all of the structured data ...
5
votes
1
answer
3k
views
Fixing validator error "cannot generate system identifier for general entity"
The W3C validator shows a "cannot generate system identifier for general entity" error when attempting to validate a page that contains the following code:
<script type="text/javascript" src="http:...
5
votes
1
answer
236
views
HTML encoding in the alt attribute
Why is it that » valid for an alt atribute but » is not?
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"...
4
votes
4
answers
957
views
CSS3 Validation: Is it worth it?
I'm currently building a project, and I'm writing the site using HTML5 and CSS3. I have validated the HTML and it passed first time (very pleased as it was my first time coding HTML5!). And then I ...
4
votes
1
answer
159
views
New to website form validation
I'm new to form validation and I have been lucky over the years. I would like to update my method of form creation in my sites. I was curious to know what is standard and if there is a preexisting ...
4
votes
1
answer
775
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>...
3
votes
5
answers
469
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" ...
3
votes
2
answers
3k
views
Is JavaScript or Flash able to extract the MAC address from a browser?
MAC address = Media Access Control address
Believe I saw that this was possible somewhere, but now that I'm looking for it I can't find the implementation.
3
votes
1
answer
248
views
Are better SSL certificates (better type or better encryption) better for SEO?
I was looking at the different types of SSL certificates and providers. I came across a website that states this:
We believe Extended and Business Verification SSL certificates gets more top ...
3
votes
1
answer
1k
views
Is there a reliable broken links check for https websites built with angularjs?
Couldn't really a find a decent broken links checker for https website built with AngularJS!
Mainly tested the following tools:
W3C Link Checker
Xenu's link sleuth
But they couldn't capture dynamic ...
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" ...
3
votes
2
answers
1k
views
Browsers treat vertical tab characters in input type=text differently. Is one of them correct?
In developing some server side validation I discovered that (the latest Windows versions as of this writing of) Firefox, Chrome and Internet Explorer handle vertical tab characters differently in ...
3
votes
2
answers
340
views
Localized CAPTCHA
What are effective CAPTCHA solutions that can have localized description, and CAPTCHA text itself is either language-neutral, or can be localized (for Polish language)? It is to be used to protect a ...
3
votes
0
answers
357
views
How can I check if my metadata tags for Google Scholar work?
I’m creating a site where I would like to use tags for indexing my pages on Google Scholar, but I don’t know if my tags works.
Should we use https://search.google.com/structured-data/testing-tool/ ...
2
votes
1
answer
6k
views
How can I resolve HTML validation errors when using Facebook Comments?
I am trying to validate my document that has the following facebook comments tag
<fb:comments width="425"></fb:comments>
I am getting validation error:
Line 333, Column 45: Element ...
2
votes
2
answers
290
views
Link of image and text
I am currently linking related and text (caption) in the following way:
<a href="/link"><img src="image.jpg" ... />This is caption</a>
Meaning I combine both and text inside the ...
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.
...
2
votes
2
answers
933
views
How do I validate IP Address ownership for authentication?
I have a website where digital content is behind a paywall. We verify users have access by IP address. Our customers are all large companies, with static IP addresses. So, if a user is within the ...
2
votes
1
answer
473
views
Pages wrapped in a form element. What effect would this have on SEO or other machine-readability?
I'm helping somebody with a site and I've noticed that all the main pages are wrapped inside a form. I mean:
<body>
<form>
[ everything in the page ]
</form>
</body>
...
2
votes
1
answer
615
views
PHP W3 Validator API, Is this good? [closed]
I was trying to find a way to see if my site's code was valid or not but I continuously going over to W3 Validator so I decided to make an "API" however it really isn't!
I just wanted to know if ...
2
votes
1
answer
63
views
Checking correctness of site
I am looking for a way to thoroughly check my site against common errors (like 404 links, duplicated title tags and so on). I'd like to define some custom rules too, for example:
We changed name of ...
2
votes
1
answer
579
views
BIMI SVG validation error
I have a validation error that I can't seem to fix.
The error is:
svg:1:133: error: element 'svg' missing required attribute 'baseProfile'
Meanwhile, my SVG tag is:
<svg baseProfile="tiny-ps&...
2
votes
1
answer
19
views
How would search engines notify us about errors with live sitemaps?
We have been asked to generate sitemaps to assist robots indexing our site because we generate content dynamically. So far, we can create those maps just fine and they seem to pass XML validators just ...
2
votes
1
answer
244
views
Preventing Unvalidated Redirects
I have a project I'm working on, and I recently decided to add a "login bounceback" to my site. The idea is simple, and very common: The user is browsing the site, and runs into something they need to ...
2
votes
0
answers
53
views
Cloudflare Pending validation error due to VirusTotal
My domain (quảcầu.cc/xn--qucu-hr5aza.cc) couldn't receive certification due to an error:
When I checked with VirusTotal, only one security vendor flagged this URL as malicious. The rest flagged it ...
2
votes
0
answers
202
views
How to validate data graph expressed in json-ld version 1.1 with SHACL?
I've currently tried using the python library pySHACL to validate them. It works if I do not have version 1.1 specific things in it's context.
For example, to validate this data graph:
{
"@...
2
votes
0
answers
104
views
Is there a problem in adding Adsense verification code via JavaScript?
I work with a certain CMS (MediaWiki) in which there is no direct control over HTML (as there is in Drupal Twig files for example);
Hence, in this case, I have to load my Adsense verification code via ...
2
votes
0
answers
148
views
How can I make Xenu Link Sleuth check relative URLs?
I'm using an old free web crawler called Xenu Link Sleuth to find broken links on my site.
Normally it works well enough for my needs, but the site that I'm testing it on right now seems to ...
2
votes
0
answers
34
views
Validation error from htmlvalidator.com using wp_enqueue_script that text/javascript is obsolete
This code was being flagged on my Wordpress website:
<script type='text/javascript' src='http://www.publictalksoftware.co.uk/wp-content/plugins/simple-download-monitor/js/sdm_g_recaptcha.js?ver=1'&...
1
vote
2
answers
823
views
Validating sitemaps with images tag
I am trying to add the <image> tag to my sitemap, but even trying to look at the XSD , as mentioned by Google at http://www.google.com/support/webmasters/bin/answer.py?answer=183668 , I get 404 ...
1
vote
1
answer
56
views
Validating emails
I am using a CRM with about 50k contacts in it and I really want to get serious about who we send information to. One of many steps in this is going to be email address validation.
Would writing a ...
1
vote
1
answer
52
views
What's the technical name of the captcha like thing which asks you to identify all the 'ice-cream' pictures?
What is the technical name of that class of tool that pops up 5 to 6 images and asks you to pick all the 'xyz' items from that list? CAPTCHA is text on a funny background and you are asked to read ...
1
vote
3
answers
344
views
Invalid Google markup rel=publisher
Why is Google publisher HTML tag invalid according to W3C specification? Is there any way to correct this example:
<a href="http://plus.google.com/109469573972649651137?prsrc=3" rel="publisher" ...
1
vote
1
answer
187
views
Google Optimizer code, validation and cdata
I ran my site through the W3C validator, and a bunch of errors were caused by the Google Website Optimizer javascript.
It seems weird that would happen. If I put CDATA around it, the error go away. I ...
1
vote
2
answers
1k
views
Yahoo sitemap validation
I am trying to submit sitemap.xml (Index) to Yahoo Site Explorer but with no luck.
I tried using website feed option in the site explorer to submit the sitemap, but I got validation errors. However, ...
1
vote
1
answer
22
views
When can I remove directory validation script?
When I apply to add my website to a directory, it asks to add some script to my homepage or index page to validate the website. At what point can I remove this script? I want to add my site to various ...