Web development comes with plenty of frustration, but it also comes with its own brand of humor. After enough time working with HTML and CSS, certain jokes just start to make sense.
This is a collection of short, easy-to-read jokes and puns where HTML and CSS are the main characters. They are quick, sometimes silly, and very familiar to anyone who has spent time pushing divs around.
Some will make you smile, some will make you sigh, and a few might feel a little too relatable. Let's go!
-
What is CSS Developers favorite drink?
:rootbeer.Here aresome alternatives that also work for Web Developers:
strong .coffee { filter: none }- DOM Perignon
- FlexBox wine
Source: comiCSS #148 -
Why did the chicken cross the web?
To get to the other site. -
I was going to tell you a joke about negative
animation-delay, but you didn't get it. -
Why did the CSS file go shopping for clothes?
It needed a new style. -
Dad, when he uses
animation-direction: reverse"Ah! This takes me back." -
What's SVG's favorite TV host?
DoctorFill. -
Why couldn't the Web Developer align the div?
Because it was positioned off-the-grid.
This one is slightly animated (source code on comiCSS #83) -
Why do Web Developers have trust issues?
BecauseDarkGray.This one is not funny, but it is true: in CSS, DarkGray is lighter than Gray. Which is interestingly annoying.
Another weird fact about CSS: the bolder font-weight can be lighter than the bold font weight. Because... CSS?
-
Why are CSS Developers always sad?
They never float on air. -
Why did the Web Developer stop going to the lazy river?
They had to use floats. -
Why does the CSS file never feel cold?
Because it always has an extra@layer. -
Why do people tend to avoid Web Developers?
Because they are just flexing all the time. -
How do CSS Developers stay on top of things?
They usez-index: max(Infinity);
Source: comiCSS #136 -
How many CSS Developers does it take to change a light bulb?
None. It is a hardware issue. -
How many CSS Developers does it take to change a light bulb?
None. They are Ok working on dark mode. -
How many JS Developers does it take to change a light bulb?
One. But they'll need 5GB in node_modules, TailwindCSS, their very own implementation of the lefty-loosey-righty-tighty.js library, and the latest MacBook Pro to handle everything. The resulting JS file will be 8MB and only change the light bulb if the room has Chrome in it. -
Why do Web Developers have a tough time getting a driving license?
They pass the written or the driving test, but they rarelyclear:both. -
Brains are amazing. they work nonstop 24/7 from the moment you are born until the moment you need to remember if it's
align-textortext-align.
Source: comiCSS #101 -
What is CSS Developers' favorite car?
Avw. -
How do you make a
<div>dance?
You make its borders groove. -
Why do Mobile Developers like going to McDonald's?
Because they have a hamburger menu. -
How do Web Developers make a component hot?
They turn it 90 degrees. -
What is blue and not too heavy?
LightBlue.And an eve more terrible and nerdier version:
What is blue and not too heavy?
#ADD8E6 -
Why did the last
<div>blush?
Because it was next to its parent's bottom. -
Why did the
<video>element fail the test?
Because it didn't have a:cue.
Source: comiCSS #79 -
CSS custom properties are in the
:rootof all evil (websites) -
<input type="hidden">hide-and-seek champion since 1995. -
Why didn't IE11 participate in conversations with other browsers?
Because it didn't know how to<dialog>. -
Why are CSS Developers so optimistic?
They can never see the glass half:empty -
Why did the linear gradient fail the test?
Because it couldn't make the curve. -
Why do CSS developers only go to national masquerades?
Because masks can't go outside the borders. -
Why did the
::beforepseudo-element not show up at its high school reunion?
Because it wasn't contented. -
Why did the SVG file go to the dentist?
It lost a fill-ing.
Source: comiCSS #79 -
Where is
::beforedisplayed after::after?
In the dictionary. -
Why did
the <img>tag go to jail?
It was iframed. -
Why did the A11Y Coach not get the job?
They failed the background check. -
What is a CSS Developer favorite dessert?
Chocolatepadding -
What does HTML wear at parties?
<address> -
What is a web developer's least favorite car?
A bug. -
Why did the
conic-gradientleave college?
It already had 360 degrees.
Source: comiCSS #160 -
How did the Web Developer become a bold shooter?
By practicing with a<B></B>Gun. -
What developers are always throwing people a line?
Tech <br>os -
What is CSS Developers favorite clothes brand?
Gap -
How do web developers eat for free at restaurants?
They set thetab-sizeto 0 -
If CSS were a political party, it would be the GOP.
It's the party offlowandorder. -
Did you know all CSS Developers are Democrats?
They think theleftis 100%right. -
I looked for the perfect grayish-purplish color. It took a long time, but I found it in a
#DECADE
Source: comiCSS #159 -
Why do
<script>and<link>have trust issues?
Because the other HTML elements don't haveintegrity. -
What is CSS' favorite rapper?
em-in-emOther CSS options:
- Jay
Z-index 50%- Kendrick Lamargin
- Mos
<defs> - Cardi
<b> - Chance the Wrapper
- The :roots
- Gucci
<main>
...you get the idea.
- Jay
-
Do you know CSS is into music?
It just likes to wrap. -
How does CSS transform light into energy?
Withfont-synthesis. -
What is a Web Developer's favorite US state?
<main>Also acceptable: Indiana (
IN), Mississippi (MS), or West Virginia (WV) -
Be kind to SVG files...
...They have fillings too -
Why did the web developer ghost fail HTML validation?
It didn't have a<body>! -
Why are ghosts terrible at web development?
Because all they ever do is#b00000.
Coincidentally, #b00000is the color of blood -
What is the worst thing that can happen to a web developer ghost?
Floating into a<picture>while beingvisible. -
A headstone is a grave
::marker. -
Poltergeists struggle with modern web development.
All they do isfloatthings around. -
Why does Sleepy Hollow's horseman love HTML?
Because you can see the<body>... but not the<head>. -
.witch { background-size: coven; } -
Why do mummies prefer Flexbox over Grid for layouts?
Because it flex-wraps nicely. -
.ghost { visibility: hidden; } -
Web developers have been searching for a good semantic tag to represent content with a caption for years...
Eventually, they'll<figure>it out. -
Why did the
<li>run away from the cooking website?
It realized it was on the<menu>. -
:where(.wolf) { will-change: shape-outside; }
Source: comiCSS #171 -
Why do children like trick-or-treating at the CSS colors' house?
Because they getchocolate.
And why do their parents love it too?
Because they getchartreuse. -
The use of negative
translateY()is really on the rise. -
Why don't skeletons ever go trick or treating?
Because they have no-<body>to go with. -
What is an Italian web developer's favorite pasta?
<li>nguini.Also valid
<span>ghetti,<main>cotti,<p>enne (or<pre>nne)... and probably the one they hate the most:gridciolli. -
What will Frankenstein never use to build a website?
firebrick
Check how this cartoon was coded -
- Knock, knock!
- Who's there?
-<nav>
-<nav>who?
- Bless you! -
<head>and<header>imply the existence of<headest>. -
Why did the web developers use
box-shadow:10px 10px #FFC0CBon all components?
Because a manager asked them to pink outside the box. -
How do CSS developers laugh?
Hue! Hue! Hue! -
The four Cs in CSS:
caret,color,clear-ity, andclip-path -
HTML shocked everyone by deprecating these tags
They were always<font>and<center> -
Why did the CSS developer storm out of the restaurant?
They were outraged by the table layout. -
Negative
animation-delayand I go way back. -
I wish the W3C removed
boldfrom the CSS standard.
It would take a weight off my mind. -
Gen Z CSS developers prefer
removerpx.
Nocap. -
clip()was removed from the CSS standard.
It just didn't make the cut. -
What is CSS developers' favorite band?
REMOther options:
blur()or#ABBA(more on this, later) -
What is web developers' favorite musical instrument?
An#0B0E -
For how long do CSS developers dream?
Just1rem -
Optimistic: The glass is 1/2 full.
Pessimistic: The glass is 1/2 empty.
CSS: The glass is twice as tall as it is wide. -
Why can't dinosaurs develop websites?
Because they are extinct. -
What HTML has the best Kung Fu?
Bruce<li> -
People complained so much that CSS had no sense of direction. That it packed its stuff and
inline-start. -
You know Elf on the Shelf ...now discover Grid on a Lid!
Source: comiCSS #225 -
Why did the HTML page not go to grad school?
Because it could only have one<title>. -
CSS Developers are great dancers,
they know all thesteps(). -
The prankster meant to
#defacethe building,
but only ended up painting the#facade. -
What is CSS developers' favorite text editor?
Vi -
What is the CSS Super Trouper's go-to color?
#ABBA -
The junior developer asked how to add movement to their website. I said, "animation." Now they've been googling "imation" all morning.
-
I don't mind HTML tags being acronyms:
<br>,<dl>,<li>... but<hr>is where I draw the line. -
The painter searched for a light turquoise color... but eventually admitted he was
#baffed. -
The web page never understood doctypes.
They always went over its<head>. -
What is CSS's favorite dinosaur?
A3rex. -
Never trust
border-radius.
It's always cutting corners.
And that's it! Congratulations! You survived the 100 terrible CSS dad jokes.