SEO or Search Engine Optimization is a hot topic nowadays. The battle for that first place a is furious one.
All depends on how the search engine spider sees our page. And how that the search engine’s algorithm reacts to that. That last one is probably one of the best secrets online (especially google’s), but how your page looks like in the eyes of a spider can be checked.
Have a look at this Search Engine Spider Simulator. I don’t know to what extent this is accurate, but still it is a valuable tool.