Elektrine lite

← Feed

@MrJico@infosec.exchange

2026-09-15 22:05 UTC

@elebertus@eigenmagic.net you can get a better idea at https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements, the issue with `div` is its over used to give semantic meaning while in reality it's designed to be a shell. ``` As a "pure" container, the element does not inherently represent anything. Instead, it's used to group content so it can be easily styled using the class or id attributes, marking a section of a document as being written in a different language (using the lang attribute), and so on. The element should be used only when no other semantic element (such as or ) is appropriate. ``` https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/div#usage_notes

Replies (0)

No replies.