Coding knowledge is not needed for SEO. But if you have basic coding skills like HTML, CSS, PHP, and JavaScript, there are more added advantages to optimizing websites by doing technical SEO and on-page SEO.