On the other hand, tags like i and b do not represent semantics.
It's no longer true. De facto all elements in HTML are semantic, including also b, i and u, e.g b represents
a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood
The site derives its name from the World Wide Web (W3), but is not affiliated with the 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.
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!
It's no longer true. De facto all elements in HTML are semantic, including also
b,iandu, 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
DOCTYPEtells 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.
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
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 😊
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