940
you are viewing a single comment's thread
view the rest of the comments
[-] MagicShel@programming.dev 1 points 1 year ago* (last edited 1 year ago)

I'll argue that paragraphs are not just visual formatting hints. Like <em>, they impart semantic meaning. Text within a paragraph is closely related and should not be scattered across the page or broken up by other elements. Just like <h1> is more than just "bigger and bolder!"

There are other tags you could've chosen that would support your argument. <div> for example is pure layout, so I'm not saying your argument holds no water, but you put the parenthetical there and it seems either poorly thought out or lacking in perspective.

I think the key here is that there was initially no CSS and it was required to have a way to assist the readability of the content and so layout tags were added, but I'd argue that's an artifact of how the web evolved and not the purpose of HTML.

If appeal to age is an important factor, I've been using the internet since before there was a "world wide web."

I don't know why I can't make it stop inserting these close tags. Probably a client bug.

[-] fkn@lemmy.world 2 points 1 year ago

Lol. That's a good argument but I didn't say paragraph doesn't denote more than visual information. I said that it unequivocally denotes visual information.

I agree with the rest of your analysis though.

this post was submitted on 28 Jul 2023
940 points (96.3% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS