Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
semantics

40 Articles
{
,

}
Image
Direct link to the article The Double Emphasis Thing
emphasis italic semantics

The Double Emphasis Thing

I used to have this boss who loved, loved, loved, loved to emphasize words. This was way back before we used a WYSIWYG editors and I’d have to handcode that crap.

<pI used to have this 
…
Image
Geoff Graham on Feb 6, 2023
Image
Direct link to the article Roundup of Recent Document Outline Chatter
accessibility document outline headers HTML semantics

Roundup of Recent Document Outline Chatter

It’s not everyday that HTML headings are the topic de jour, but my folder of saved links is accumulating articles about the recently merged removal of the document outline algorithm in the WHATWG Living Standard.

First off, you should know …

Image
Geoff Graham on Jul 21, 2022 Updated on Jul 25, 2022
Image
Direct link to the article Write HTML, the HTML Way (Not the XHTML Way)
HTML semantics

Write HTML, the HTML Way (Not the XHTML Way)

You may not use XHTML (anymore), but when you write HTML, you may be more influenced by XHTML than you think. You are very likely writing HTML, the XHTML way.

What is the XHTML way of writing HTML, and what …

Image
Jens Oliver Meiert on Mar 21, 2022
Image
Direct link to the article Semantic menu context
HTML menu semantics

Semantic menu context

Scott digs into the history of the <menu> element. He traced it as far back as HTML 2 (!) in a 1994 changelog. The vibe then, it seems, was to mark up a list. I would suspect the intention …

Image
Chris Coyier on Nov 11, 2021
Image
Direct link to the article enterkeyhint
forms semantics

enterkeyhint

I only just recently learned the enterkeyhint attribute on form inputs was a thing! It seems like kind of a big deal to me, as crafting HTML form markup is a decent slice of a front-end developer’s life, and this …

Image
Chris Coyier on Nov 5, 2021
Image
Direct link to the article Can Include (a Certain HTML element within another Certain HTML Element)
semantics

Can Include (a Certain HTML element within another Certain HTML Element)

A single-serving website from Alexander Vishnyakov for testing if it’s valid to put any particular HTML element within another type of HTML element. Kinda neat to have a quick reference for this.

Some combinations feel fairly obvious: can you put …

Image
Chris Coyier on Oct 22, 2021
Image
Direct link to the article Twitter’s div Soup and Uglyfied CSS, Explained
semantics

Twitter’s div Soup and Uglyfied CSS, Explained

When I came up in web development (2005-2010 were formative years for me), one of the first lessons I learned was to have a clean foundation of HTML. “What Beautiful HTML Code Looks Like” is actually one of the most …

Image
Chris Coyier on Sep 22, 2021
Image
Direct link to the article On the `dl`
definition list semantics

On the `dl`

Blogging about HTML elements¹? *chefs kiss*

Here’s Ben Myers on the (aptly described) “underrated” Definition List (<dl>) element in HTML:

You might have also seen lists of name–value pairs to describe lodging amenities, or to list

…
Image
Chris Coyier on Sep 14, 2021
Image
Direct link to the article Web Features That May Not Work As You’d Expect
cross-platform semantics standards

Web Features That May Not Work As You’d Expect

As the web gets more and more capable, developers are able to make richer online experiences. There are times, however, where some new web capabilities may not work as you would expect in the interest of usability, security and privacy.…

Image
Farai Gandiya on Jul 23, 2021
  • Image Newer
  • 1
  • 2
  • 3
  • ...
  • 5
  • Older Image

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • About DO
  • Cloudways
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Contact
  • Write for CSS-Tricks!
  • Advertise with us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • Bluesky
Back to Top
Advertisement