may seems like a complex technique, But it is not that much hard to understand.
There are things that the search engines love to see about the websites this may include the information present on the web pages and also how the other sources refer a particular website.
There are several ways by which a website can be optimized for the search engines. These include:
White hat SEO and Black hat SEO.