Can Search Engines Read Text inside Seach Field?

Discussion in 'Search Engine Optimization' started by TransPersonal, Aug 6, 2009.

  1. #1
    In my search bar I have some text that says something along the lines of "Search *KEYWORD*". I'm wondering if search engines are actually able to read "Search *KEYWORD*" from the following:

    
    <fieldset>
    <input type="text" id="find" onblur="if (this.value == '') {this.value = 'Search *KEYWORD*';}" onfocus="if (this.value == 'Search *KEYWORD*') {this.value = '';}" value="Search *KEYWORD*" />
    </fieldset>
    </form>
    <input type="submit" value="" id="button" />
    
    HTML:
     
    TransPersonal, Aug 6, 2009 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No, they cannot. And this is slightly off-topic, but I do have to tell you that your form is not valid or even semantic HTML. If you're going to use a FIELDSET element, you must use a LEGEND element as well (it's like a heading tag for forms). It's also recommended that you use a LABEL and associate it with your INPUT tags as well. And make sure the submit button is inside the form.

    (I can't help it - I'm a Web developer who REALLY knows his SEO like the back of his hand.)
     
    Dan Schulz, Aug 7, 2009 IP