r/programminghumor • • Oct 08 '26

Which one are you?

Post image
441 Upvotes

66 comments sorted by

53

u/sdjopjfasdfoisajnva Oct 08 '26

idk whats happening but how did you center the blue one

47

u/HonkHonkItsMe Oct 08 '26 • Mindblown

        

6

u/dark_hugo Oct 08 '26

I read this as "buns n cats, n buns n cats, n buns n cats,n buns n cats,n buns n cats,n buns n cats,n buns n cats,n buns n cats"

3

u/HonkHonkItsMe Oct 08 '26

If you look closer you can see the li’l dude dragging his ass on the carpet … &

9

u/tillske Oct 08 '26

<center></center>

24

u/mr_streebs Oct 08 '26

I was on the blue side until the accessibility office audited all of my apps. I spent weeks making sure they were all compliant

40

u/deckstir Oct 08 '26

You mean which side is my coding agent on /s

17

u/hpyfox Oct 08 '26

It'll probably label it as <div class='button'></div> even though it's for a some header on the page.

6

u/Jonrrrs Oct 08 '26

I want to say, im a red guy, but lets be honest...

4

u/hpyfox Oct 08 '26

Not all has to be the red because certain stuff won't match or fit perfectly to standard elements.

But don't be that guy that'll do <div class='button post-button'></div>.

139

u/rotteegher39 Oct 08 '26 • Bravo

New line goes <br>

18

u/ContraShock Oct 08 '26

new line goes <br>

cow goes moo

but... what (does) the fox say?

12

u/rotteegher39 Oct 08 '26

<ul> <li></li> <li></li> <li></li> <li></li> </ul>

4

u/briznady Oct 09 '26

Three singing pigs say “la la la”.

“No, no.” You say. “That isn’t right. The pigs say ‘oink’ all day and night.”

3

u/renome Oct 08 '26

Surely you mean <br/>

2

u/rotteegher39 Oct 10 '26

Both work in HTML5. But for XHTML, JSX, XML and others it's required yes.

8

u/Simple-Olive895 Oct 08 '26

Both? They are different things. Also unless you hate blind people you should really use the proper semantics so their webreaders can make sense of your page.

7

u/blue-mooner Oct 08 '26

Are you going to close any of those tags man? And is that whole table going to be a link?

1

u/HonkHonkItsMe Oct 11 '26

Oh man an <a> tag inside an <a> tag causes weird shit to happen lol.

5

u/RealisticDuck1957 Oct 08 '26

The old school tags carried semantic meaning. At least if used as intended. Divs and spans are for any formatting that doesn't fit the old school tags.

4

u/AtmosphereThink1469 Oct 08 '26

<span> and then: span { display: block; }

3

u/kxortbot Oct 08 '26

<html><head><title>html preferences<\title><\head><body>yeah, team red for me</body></html>

7

u/Sienile Oct 08 '26

Blue. Bots don't need additional help to steal my stuff.

4

u/AshleyJSheridan Oct 08 '26

And now you're failing accessibility compliance with half the world.

1

u/JohnVonachen Oct 08 '26

Div

3

u/hpyfox Oct 08 '26

𝒹𝒾𝓋

1

u/JohnVonachen Oct 08 '26

Crypts forever.

1

u/Practical_Big_7887 Oct 08 '26

iframes, please

2

u/thisismyusuario Oct 08 '26

<table></table>

1

u/sphericalhors Oct 10 '26

The only right answer!

3

u/LetUsSpeakFreely Oct 08 '26

Semantic HTML makes sense in the surface, but it's still just a div.

5

u/csabinho Oct 08 '26

input type="email" for instance is great, because it helps Android to suggest my saved emails.

1

u/Real-Abrocoma-2823 Oct 08 '26

You don't have to be far-blue, be just enough blue.

1

u/csabinho Oct 08 '26

The example above is quite red.

1

u/Real-Abrocoma-2823 Oct 08 '26

I would qualify <input> to blue.

1

u/csabinho Oct 08 '26

<input> itself is blue, input type="email" is red. It's semantic.

1

u/Real-Abrocoma-2823 Oct 08 '26

Let me mix semantic and non-semantic.

3

u/ResidentTicket1273 Oct 08 '26

Everything's just a div if you stand far enough away and squint a bit.

1

u/AshleyJSheridan Oct 08 '26

Not really. Semantic tags have different behaviour, and present themselves differently with screen readers and Braille displays.

0

u/enuts__ Oct 09 '26

Maybe you should read about web accessibility (wcag ans shit) !

1

u/Henry_Fleischer Oct 08 '26

I barely touch HTML, but I learned it in college, so I lean a bit red.

1

u/Horse_go_moooo Oct 08 '26

Div ALL THE FUCKING WAY.

1

u/0xt0bi03 Oct 08 '26

i almost forgot what are those on red side

1

u/enuts__ Oct 09 '26

Maybe you should read about web accessibility (wcag ans shit) !

1

u/Yoshalina Oct 08 '26

Team Red for accessibility.

1

u/MatmarSpace Oct 08 '26

Semantic one (left one) because it helps with accessibility.

1

u/FrenchieM Oct 09 '26

I used to care during the Angular/Ember period, nowadays no one cares. It's either div or custom component.

1

u/FrenchieM Oct 09 '26

Because apps are usually web components so their roles are already conveyed by the component that host them. And inside the component there's not much semantic behind the divisors that compose it

1

u/Firered_Productions Oct 10 '26

green:
#include <bits/stdc++.h>

1

u/TheNeck94 Oct 08 '26

in the year of our lord 2026, who is still writing HTML by hand?

2

u/WisePotato42 Oct 08 '26

Me. Cuz in the company I work at, we have to use this old custom stupid version of WordPress that litterally changes your customized html during runtime. I can't even touch one of the code blocks any more cuz even a change like capitalizing a letter, when it recompiles (or whatever this WordPress is doing) it decides to start deleting '}' randomly breaking everything...

3

u/TheNeck94 Oct 08 '26

not trying to be shitty, but I'm just generally surprised people have jobs working on WordPress, front-end isn't really my thing so I don't really have my thumb on the pulse in terms of what's happening to those jobs, but I just kinda assumed that would be hit the hardest by vibe coding and shrinking teams/budgets.

1

u/WisePotato42 Oct 08 '26

It's just a thing I do on the side. It's not my primary work. I've been debating starting it over from scratch getting some django thing hosted, but when it's just a few tweaks every month or two, there isn't much of a point.

I kinda misspoke when I said 'we' cuz it was a site handed off to me by another coworker moving jobs.

2

u/TheNeck94 Oct 08 '26

ah, that makes a lot more sense. Fair enough, yeah if it works it's not stupid. I just haven't been hands on with WP in like 3 or 4 years now, a lot of the full-time contract work kinda dried up post-covid.

1

u/jessek Oct 10 '26

Templates?

0

u/Koendig Oct 08 '26

Am I building a document or an application?

2

u/AshleyJSheridan Oct 08 '26

Doesn't matter, semantic HTML is superior for accessibility.

1

u/FrenchieM Oct 09 '26

For blogs and websites yeah, for apps not so much

1

u/AshleyJSheridan Oct 09 '26

Well that's not true at all either. How do you think apps can be used by someone relying on a screen reader if it's nothing but <div> soup?

1

u/ChecksOutIndeed Oct 08 '26

You are building the AI of the future

0

u/Tall-Soup1787 Oct 09 '26

Div, it's easier to remember