What is the main structure of search term that is used by search engines to find websites all over the net???.

And what is the most important procedure that one have to do when designing and programing one's site to rank high especially (GOOGLE)....???

I hope there is someone will benifit of my question.

best regards to you all.