“im going on the hub”, What else could that mean? other than the a universal binary management website!!!

You are viewing a single thread.
View all comments View context
2 points
*

For semantic reasons.

Each element in HTML should correspond to a proper semantic element. For example, navigation elements should go within <nav>. Elements like <center> are remanants of the good ol days when css wasn’t mature enough and you’d add color to an element via attributes. Obviously, center has no semantic meaning and pretty much useless in web dev now. It hasn’t been removed but deprecated.

These are "should"s and not "must"s. This is why divs exist because many times it’s hard to decide what semantic meaning a piece of content has, so divs are just generic components when you can’t think of an better semantic tag.</center></nav>

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 7.6K

    Monthly active users

  • 1.2K

    Posts

  • 68K

    Comments