How to build website in HTML?

Hi dear friends. I am new to here. I am looking solution to build website in HTML without any errors. Because I tried to build HTML website, that has lot of errors. Please help me to build a website without any errors.

Assuming it’s not something which you plan to sell here or on another marketplace then why not buy a template from an experienced author and learn from or adapt that to your needs?

Maybe this is a good startpoint, due you use only ready code the errors should be really less.