Formatting elements were designed to display special types of text. These can be used
according to your need—they can make your webpage either look professional or
like my first second attempt at cooking (which was still terrible).
<strong> - Important Text
This text is so important it should be read in a dramatic movie trailer voice. Use it for things like "WARNING: Coffee is hot" or "PLEASE feed the developer."
<i> - Italicized Wisdom
Use italics when you want to sound thoughtful, like you're sharing ancient web development secrets. Also great for pretend Latin: Lorem ipsum dolor sit amet.
<mark> - Highlight Party
This text has been marked, probably because it said something important. Or maybe it's just the HTML version of using a highlighter while pretending to study.
<small> - Whisper Text
This text is smaller, like the fine print that says "not responsible for broken keyboards from coding frustration." Perfect for secrets and legal disclaimers nobody reads.
<del> & <ins> -
Mistakes & Corrections
I totally didn't forget to save my code. I definitely saved my
code. Use these when you change your mind, like deciding pizza
isn't is breakfast.
<sup> & <sub> - Math
& Science
Superscript for footnotes1 and Subscript for chemistry. Perfect for when you need to pretend you paid attention in science class while actually just making memes.
<b> - Bold Statements
This text is bold but not necessarily important—like when you confidently type code you know will probably break. It's visual emphasis without the semantic weight.
<em> - Emphasis Drama
This is emphasized text, which screen readers will read with extra feeling. Use it when you want to sound very serious about your taco preferences.
Combo Meal - Mix & Match
You can combine these! Like this weird
highlighting. Just don't make your page look like a
WordArt modern design explosion.