If one were to build a new Web Browser, from scratch; Which documents would they need in order to follow Standards?
Would they just use the W3C website to obtain information on how HTML and CSS should be parsed?
I apologize if this is too broad of a question, or if I am not providing enough information, but I’m not quite sure how exactly I should ask this type of question.
Building your own web browser is one thing; building a web browser along with a rendering/layout engine from scratch is another.
Rendering engines are what “execute” the HTML/CSS/Scripting code and change it to render-able content. For instance, Mozilla Firefox uses the Gecko engine, while Chrome and Safari use WebKit. Writing a decent engine isn’t simple — there are many standards to follow. There are open-source engines (like Gecko), so you don’t have to write your own. But in any case, there are 2 main standards to follow:
Good luck, and I hope that helped you!