Most of the
search engines, primarily considers the
Onpage Optimization factor for relevancy of your web page while ranking. Currently, yahoo considers partially onpage optimization and
offpage optimization while major search engine like google gives much weight for offpage optimization. In general, onpage optimization consists of keywords in title tags, meta tags, body content, alt tags and many more for high ranking in Search Engine Result Pages (SERPs).