Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

From an SEO point-of-view, which version is better:

<input type="text" name="q" value="search" />


<input type="text" name="query" value="search" />

Here's another example:

<input type="text" name="e" value="email" />


<input type="text" name="email" value="email" />

In other words: Does Google use the HTML input name attribute?

share|improve this question
up vote 6 down vote accepted

There is no SEO value in this. This is not content. Use form names that makes the server side programming cleaner and easier to manage. This is way over-thinking SEO.

share|improve this answer
That seems to happen a lot. SEO is rather simple if you don't make it complicated. – closetnoc May 10 '14 at 1:25

When you use the HTTP GET method to submit the form, and the produced URL is allowed to be crawled/indexed, then it can matter for SEO in the way that it’s just another part of your URL.

<input type="text" name="e" /> might produce an URL like:

<input type="text" name="email" /> might produce an URL like:

If or to which extent such signals in the URL may matter for SEO is discussed in various questions here.

One thing is sure: If these URLs are indexed and a user is searching for "email", many search engines (including Google) will highlight occurences of this term in the search result snippet. This may lead to more clicks, even more so if the term in question is not also part of the page title/description.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.