Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
1answer
69 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
2answers
349 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>
2
votes
0answers
23 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'&...
4
votes
1answer
480 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 ...
2
votes
2answers
351 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. ...
3
votes
0answers
102 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/ ...
1
vote
1answer
43 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
1answer
170 views

SSL Certificate Details And 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
5answers
216 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" ...
0
votes
1answer
39 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 ...
3
votes
1answer
649 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 ...
2
votes
1answer
13 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 ...
1
vote
1answer
207 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 ...
10
votes
3answers
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 ...
2
votes
0answers
3k 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" ...
2
votes
2answers
403 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 ...
14
votes
1answer
6k 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 ...
1
vote
2answers
278 views

Form validation - security and input specification

So I'm working on a register form and I have four fields: name, username, email and password. I pick up the values of these fields in jQuery and depending on if all the fields are filled, I pass them ...
1
vote
1answer
18 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 ...
3
votes
2answers
997 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 ...
1
vote
1answer
368 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> ...
4
votes
1answer
146 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 ...
5
votes
2answers
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"...
6
votes
2answers
2k 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 ',' ...
12
votes
2answers
6k 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 ...
1
vote
3answers
339 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" ...
2
votes
1answer
568 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 ...
0
votes
0answers
29 views

Validation Meta tag for Bing [duplicate]

Possible Duplicate: Validation Meta tags for search engines Should validation meta tag for the Bing search engine be left on the site following validation?
5
votes
1answer
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:...
9
votes
1answer
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 ...
1
vote
1answer
180 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 ...
0
votes
3answers
202 views

Email validation tool to check someone works at an organisation

I am setting up a tool that allows users to claim a company profile and am wondering if there is an automated way to validate that the email they enter actually belongs to the organisation Eg If User ...
6
votes
3answers
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.
5
votes
1answer
215 views

HTML encoding in the alt attribute

Why is it that &#187; valid for an alt atribute but &raquo; is not?
-1
votes
1answer
159 views

What are the most common “normal” HTML errors? [closed]

I'm trying to find real-world HTML pages that are actually valid (in the sense that they are displayed by modern browsers), but are not compliant with HTML specification and are considered invalid. ...
6
votes
4answers
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 ...
2
votes
1answer
59 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 ...
0
votes
2answers
246 views

Is this a valid Google Review Microformat?

I’ve applied some HTML around my aggregate review. I just wondered if anyone could tell me if it is valid (even though the Google test tool says it is) and that non of the extra HTML or style affects ...
1
vote
1answer
66 views

Problematic using Captcha on billing page

I have simple captcha on user page. I want make it refresh if user input incorrect captcha, I just wanna ask Should I do it or I just add a simple button to refresh it.
4
votes
4answers
948 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 ...
1
vote
2answers
837 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
2answers
590 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 ...
2
votes
1answer
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
2answers
283 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 ...
3
votes
2answers
289 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
2answers
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.
8
votes
3answers
1k 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 "...
7
votes
4answers
4k views

Linux HTML/XML W3C Validation Utilities

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 ...
20
votes
5answers
10k views

How can I validate HTML offline?

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 ...
52
votes
17answers
2k 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 ...