Good on page and off page activities are required to rank a website in search engines. Also building good content and backlinks from high authority relevant webpages will help to rank keywords higher in search pages.