How often have you wrote a block of HTML without realising the code you've written might not be ideal?
The why
HTML has always been tha...
For further actions, you may consider blocking this person and/or reporting abuse
It's no longer true. De facto all elements in HTML are semantic, including also
b
,i
andu
, e.g b representsAdditionally W3schools is not affiliated with W3C:
And TBH their content is much worse than MDN's, e.g. they claim that
DOCTYPE
tells the browser which version of HTML was used to create the page and that DTD is needed to parse HTML4 correctly. Both of these statements are false: DOCTYPEs are needed only to activate rendering in standards-compliant mode and DTDs aren't used at all, as all rules of parsing HTML are described in details in specification. There are many more errors like this one on W3Schools, so basically it's better to link to MDN instead.Thanks
Very Nice and informative content.
Thanks a lot.
Wonderful! It can help me to prepare a lot before interviewing. I hope you can write more posts like this.
Thanks Pham, I will for sure
github.com/mattn/emmet-vim
I like how this is more of an overview and offers links to dive deeper into various points. It's a nice way to pack in a lot of information without being overwhelming. Nice work!
Thanks Jordan 😊
Honestly I often have the nagging feeling that my HTML markup could be better. Thanks for sharing your insights! Bookmarked.
Totally relatable, that's why I decided to write about it
It's really important to revise the things we've learned and this is quite enough HTML revision. Thanks, Yaser.
True, and you're welcome