On point 2, it's worth noting that the traditional way to write tag names was uppercase. Although HTML syntax has always been case-insensitive for tag names, the vast majority of examples in all the standards up to and including HTML 4.01 used uppercase.
Lowercase only became the fashion when XHTML was introduced. XHTML is case-sensitive and only lowercase tag names are valid. Devs who tried to use XHTML correctly, which was common at one time (although most failed) were therefore forced to switch to using lowercase. The HTML5 standard continues this practice and most examples there use lowercase tag names.
Hats off, sir. You just taught me something. Interesting to know that, it shows a lot about the evolution of these languages. I use a lot of react and if someone started capitalizing my first letters on the html tags, I'd have a headache. 😁
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
On point 2, it's worth noting that the traditional way to write tag names was uppercase. Although HTML syntax has always been case-insensitive for tag names, the vast majority of examples in all the standards up to and including HTML 4.01 used uppercase.
Lowercase only became the fashion when XHTML was introduced. XHTML is case-sensitive and only lowercase tag names are valid. Devs who tried to use XHTML correctly, which was common at one time (although most failed) were therefore forced to switch to using lowercase. The HTML5 standard continues this practice and most examples there use lowercase tag names.
Hats off, sir. You just taught me something. Interesting to know that, it shows a lot about the evolution of these languages. I use a lot of react and if someone started capitalizing my first letters on the html tags, I'd have a headache. 😁