To get better traffic and ranking, you need to use both On page and off page SEO.
On page SEO – We use this technique within the website in order to improve rankings. Some techniques include Keywords research, Creating Titles and contents, Adding meta descriptions etc.
Off page SEO – We use this technique outside the website in order to improve its rankings. Some techniques are Guest Blogging, Article submission, Social networks, Image sharing, Video sharing etc.