What are the techniques to implement to be in good SERP. Apart from meta tags and anchor text what are the other techniques we should focus on when thinking of good ranking in search engines from particular keywords.

As now a days everyone is targeting on niche keywords and less competitor keywords the competition for the race of keywords is also becoming more and more complex. I know some basic techniques but what are the best techniques for good SERP for the keywords.