- 1 Plain Old Semantic HTML (POSH)
- 1.1 Origins
- 1.2 Why
- 1.3 What
- 1.4 The POSH Process
- 1.5 The POSH Checklist
- 1.6 poshformats
- 1.7 Resources
- 1.8 Spread POSH
- 1.9 Improve POSH
- 1.10 History
Plain Old Semantic HTML (POSH)
Welcome to the POSH home page.
The acronym POSH was coined on 6 April 2007 on the microformats IRC channel, by <kwijibo> as a shorthand abbreviation for "plain old semantic HTML". A discussion on among John Allsopp, Tantek Çelik, Jeremy Keith, and Chris Messina at the Microformats Dinner 2007 April 18 following Web 2.0 Expo reraised the idea of POSH and the importance of promoting the broader goal of POSH, which microformats are built from and are a proper subset of. For more see History.
The term Semantic HTML is a mouthful, and belies both how simple it is, how well established it is among modern web designers, and the fact that it has benefits far beyond the obvious doing the right thing for the Web by using semantic markup. We need a simple short mnemonic term that captures the essence of the concept, and is easily verbed (to posh, poshify, poshed up).
POSH encapsulates the best practices of using semantic HTML to author web pages. Semantic HTML is the subset of HTML 4.01 (or XHTML 1.0) elements and attributes that are semantic-xhtml rather than presentational-html. The best way to learn and understand POSH is to do it. Pick a page on your web site to begin with, and apply the POSH Checklist to it. Continue with the POSH Process. Read POSH Resources to learn more about POSH.
The POSH Process
What can you do to be POSH and to make your websites POSH?
- Publish POSH content. Read POSH resources and make sure your website publishes valid semantic (X)HTML, and uses semantic class names accordingly.
- Spread POSH. Encourage others to be POSH and POSHify their websites by linking to this page.
- Improve POSH. Help us gather resources to enable more people to easily POSHify their websites.
The POSH Checklist
- The first rule of POSH is that you must validate your POSH.
- Second, drop the use of TABLEs for purely presentational purposes, spacer GIFs, and presentational-html in general.
- Next, fix your Bed and BReakfast markup.
- Eliminate Anorexic Anchors.
- Use good semantic class names.
The term "poshformats" distinguishes one-off, ad-hoc or more informal class-name based formats efforts from the more formally researched and documented microformats. Another way of describing the distinction is that microformats are the proper subset of poshformats which have been developed via the microformats The microformats process and principles, rather than made-up a-priori.
See poshformats for more.
Step by step tutorials to create POSH content or upgrade existing content to POSH.
- Validating your css and html A simple step by step guide to how and why you should validate your markup
Presentations which explain and advocate concepts and techniques for utilizing semantic HTML. If/when this section gets too big, we can move it to posh-presentations.
- CSS: Between the Style Sheets by Tantek Çelik (2003-03), specifically, see slides 3-4,6 starting with "Leaving the <B>ed & <BR>eakfast", and slide 9 "CSS & the Semantic Spectrum" which provides an overview of the semantic spectrum of (X)HTML tags.
- real world semantics (2004-02-11)
- Semantic XHTML: Can your website be your API? - Using semantic XHTML to show what you mean (2004-09-28)
- The Elements of Meaningful XHTML (2005-09-29, first version: 2005-03-13 at SXSW Interactive).
- See also more microformats presentations in general.
Modern web design books which document good semantic HTML practices.
- Web Design in a Nutshell, Third Edition by Jennifer Niederst Robbins See Jenville.
- Microformats empowering your markup for Web 2.0 by John Allsopp. Chapter 3 is a detailed and practical overview of the appropriate use of structural, valid and semantic HTML.
- Semantics, Standards and Styling by Paul Haine.
- Build Your Own Web Site The Right Way Using HTML & CSS by Ian Lloyd.
Online (and off) magazines which frequently publish articles about semantic HTML. If/when this section gets too big, we can move it to posh-magazines.
- A List Apart: For People Making Websites (see in particular HTML and XHTML Articles)
- Digital Web Magazine
Blogs that with some regularity post high quality discussions, insights, and in general have advanced the state of the art of POSH. If/when this section gets too big, we can move it to posh-blogs.
- David Baron's weblog
- Jeffrey Zeldman Presents
- meyerweb.com - Eric Meyer
- Microformatique - John Allsopp
- SimpleBits - Dan Cederholm (see in particular SimpleQuiz)
- Tantek Çelik
POSH Blog posts
Blog posts that provide specific, modern, guidance, techniques and tips for using more and better semantic HTML. This list is incomplete. We know there are lots more blog posts out there that fit the aforementioned description - please add them! If/when this section gets too big, we can move it to posh-blog-posts.
- POSH - Plain Old Semantic HTML by Roger Johansson.
- The Sandbox theme for WordPress readme.html discusses what POSH is and how the theme helps users use it.
- Bed and BReakfast markup (B&BR) (2002-10-22) - avoiding nonsemantic uses of <b>old and <br>eak tags and using <h3>adings and <p>aragraphs instead.
- <A>norexic </A>nchors (2002-11-28) - use the "id" attribute on existing elements instead of adding empty
<a name="foo"></a>elements. Use rel-design-pattern for post permalinks within the document.
- A Touch of Class (2002-12-16) - introduction to proper use of the HTML 'class' attribute.
- Dive into Semantic MARKup (2002-12-31)
- Comment markup, presentation and plumbing (2003-01-04) - how to markup a list of comments, including example use of the rare "hreflang" attribute.
- Competent Classing by Eric Meyer (2004-07-18)
- Best Practice for ID and Class Names by Jens Meiert (2008-08-12)
- More about the 'class' attribute (2004-07-20)
- Web Standards in the Real World: An Interview with Molly Holzschlag (2005-06-01)
- Webpatterns and websemantics (2005-11-18)
- Writing Semantic HTML by Jesse Skinner (2006-02-22)
- Who will read your Semantic HTML? by Jesse Skinner (2007-01-04)
- Semantics in HTML by John Allsopp (2007-01-08 - 2007-03-12)
- Built in HTML semantics A list of the semantic elements and attributes of HTML by John Allsopp (2007-01-08)
- The Importance of Being POSH by Tantek Çelik (2007-04-20)
- Getting back to POSH (Plain ol’ Semantic HTML) by Chris Messina (2007-04-21)
- I’m POSH - are you? (2007-04-23)
- The Internet’s Upper Class Or Why Your Site Should Be POSH (2007-04-24)
- On Appropriate Use of DIVs, or When Divitis Doesn’t Apply by Nate Koechley, 2006-12-15
- Quick Comment: Choose Class/ID Names Based on Semantic and/or Structural Meaning by Nate Koechley, 2006-12-22
- SEEing is believing - using standards and efficient design, coding, maintenance, and marketing to produce a search-engine-efficient site by Richard Leland (2006-07-31)
- Perfection - by Steve Marshall (2007-11-02)
If/when this section gets too big, we can move it to posh-podcasts.
- 2007-05-03: A talk about POSH in the .Net magazine podcast episode 8 (56 minutes; 26 Mb. Relevant section 30:10-42:40)
- 2005-09-29: The Elements of Meaningful XHTML - podcast of Tantek's presentation by the same name (slides)
Hidden POSH Treasures
The following sites have POSH related articles, tutorials etc. on them, but you have to dig for them from the home page. Help find the hidden POSH treasures in these sites and add direct links to POSH related articles, tutorials etc. to the specific sections above. You can leave the top level site links here until/unless you have dug thru the entire site and found all the treasures.
POSH Bling for your Blog
If you want to improve your existing blog, there are some pretty simple things you can do:
- Use the Sandbox or K2 themes that already support hAtom and hCard
- Add the hCard About Widget to your site
Now that you've poshified your website(s), what next? Well, help spread POSH to other websites!
- Promote POSH. Make a POSH button (perhaps using semantic HTML and CSS ;) linking to this page and put it on your site, in your blogroll, in your footer, etc. Maybe even come up with a nice POSH button graphic and share it with the microformats community with a liberal license (public domain, CC-by-3.0, MIT, etc.) Like these:
- Tell a friend. Talk to web design friends about POSH and convince and help them to poshify both their personal websites, and the websites they build for others. Blog about your experience with poshification and what steps you went through to poshify your websites. Write a posh-testimonials!
- Come up with more ideas to help spread POSH. Here are a few.
- Hold a PoshPit - a one or half day marathon session mixing semantic HTML experts with folks who maintain/run web sites in general and see how many websites you can collectively upgrade to POSH during the course of the day.
As you read the POSH resources documented here, what other POSH resources did you find? Add them to this page.
With your experience with both poshifying your sites and helping others do so, what have you learned? What kind of issues did you run into? What questions were commonly asked? What do you feel like you need to more easily and quickly help more people poshify their content?
A brief history of references to "POSH" in this context and "plain old semantic HTML".
plain old semantic HTML
The earliest references to "plain old semantic HTML" that have been found so far are:
- 1998-05-01: Kirrily 'Skud' Robert on comp.infosystems.www.authoring.site-design - "The site is implemented in HTML 4.0 Transitional with style sheets; this means that anyone with an older browser won't get presentational markup, just plain old semantic HTML. "
- 2006-09-21 Drew's comment by on "Tables and SEO": "I’d say it’s well worth it for a variety of reasons to only use tables when you’re presenting tabular data, and use plain old semantic HTML to mark up your content in all other cases." (retrieved by Tantek 08:20, 20 Apr 2007 (PDT))
If you can find earlier references, please add them and include a brief quotation of the context of the reference to "plain old semantic HTML".