![]() In this particular example I might have wanted only my name to be part of the heading so infact the HTML I had intended might have been: Jonathan's Blog The limitation with this reconciliation process is that it can’t always anticipate what you had intended as the developer and this can result in your application rendering incorrectly. When the browser tries to reconcile this it assumes you meant for the whole text string to have been part of the heading so will reconcile the HTML as follows and render it. When a browser renders a page that has invalid HTML markup it will attempt to reconcile the markup so that it is still able to render a page to the user. To begin with let’s dig a little bit deeper into why it is important that we are rendering valid HTML to our user's browsers. Today I wanted to look at how we can still benefit from validating our HTML and what tools we can use to do it. HTMLVALIDATOR CHROME CODEThese days, building for the web is much more complicated, with tools like React, Vue.js and Angular all abstracting our code into discreet components making it more challenging than ever to simply see whether the HTML document as a whole is valid HTML. ![]() I found the more I used the tool, the more it was helping me to become a better web developer as I was able to learn from any mistakes I made and learn to write better HTML markup. ![]() When I first started building websites, I came across the W3C HTML validator which allowed me to validate whether the HTML I was writing was valid markup. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |