Use article for self-contained content (blog post, card-like story, changelog entry) and section for thematic grouping inside a page. Pico applies card-like spacing and borders to article in many themes—free visual separation without a .card class.
Composition patterns
- Blog index —
maincontaining multiplearticleelements, each with its ownheaderandfooter - Docs page — one
articlewith nestedsectionper chapter - Marketing band —
sectionwithh2plus paragraphs; optionalasidefor pull quotes
Utility frameworks often use div.rounded-lg.shadow for the same effect; Pico encodes the look in element selectors—fewer classes, tighter coupling to good HTML.
Self-check
- When should content be an
articlevs asection? - How does Pico visually distinguish multiple articles on one page?