Skip to content

Instantly share code, notes, and snippets.

@jonathantneal
Created December 6, 2013 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathantneal/7818198 to your computer and use it in GitHub Desktop.
Save jonathantneal/7818198 to your computer and use it in GitHub Desktop.
Subheadings in the wild

MTV

Example article: 'Amazing Spider-Man 2': All The Best Moments From The New Trailer

<h1 id="articleTitle">'Amazing Spider-Man 2': All The Best Moments From The New Trailer</h1>
<h2 class="sub-title article">From Doctor Octopus, to an Avengers crossover?</h2>

TMZ

Example article: Drake Bails on Grammy Nomination Concert Blames 'Scheduling Conflict'

<h1 class="hf1">Drake </h1>
<h3 class="hf2">Bails on Grammy Nomination Concert</h3>
<h2 class="hf3-case">Blames &#039;Scheduling Conflict&#039; </h2>

Apple

Example page: Apple Reports Fourth Quarter Results

<h1 class="title">Apple Reports Fourth Quarter Results</h1>
<h2 class="subtitle">iPhone Sales Grow 26% to Establish New September Quarter Record</h2>

XKCD

Homepage

<span><a href="/"><img src="http://imgs.xkcd.com/static/terrible_small_logo.png" alt="xkcd.com logo" height="83" width="185"/></a></span>
<span id="slogan">A webcomic of romance,<br/> sarcasm, math, and language.</span>

National Geographic

Example article: Einstein Theories Confirmed by NASA Gravity Probe

<h1>Einstein Theories Confirmed by NASA Gravity Probe</h1>
<h2 class="subtitle">Space mission did what the famed physicist said would be impossible.</h2>

Oxford English Dictionary

Homepage

<h1>
	<span>
		<p>Discover the story of English</p>
		<span class="blurb">
			<p>More than 600,000 words, over a thousand years</p>
		</span>
	</span>
</h1>

The Christian Science Monitor

Example article: Fast-food strike: Workers in 100 cities push for $15 hourly wages

<h1 class="head" itemprop="name">Fast-food strike: Workers in 100 cities push for $15 hourly wages (+video)</h1>
<h2 class="subhead" itemprop="description">
	<p>Fast-food strike: A nationwide fast-food strike started early Thursday in Detroit, Atlanta, and dozens of other cities. The strike is organized by labor unions pushing for higher wages.</p>
</h2>

Techdirt

Example article: When Copyright And Contracts Can Get In The Way Of Art

<h1 class="posttitle">When Copyright And Contracts Can Get In The Way Of Art</h1>
<h3>from the <i>tales-from-the-creative-front-lines</i> dept</h3>

The Telegraph (UK)

Example article: Nelson Mandela, South Africa's anti-apartheid icon, dies aged 95

<h1 itemprop="headline name">Nelson Mandela, South Africa's anti-apartheid icon, dies aged 95</h1>
<h2 itemprop="alternativeHeadline description">Nelson Mandela, the global statesman who delivered South Africa from the dark days of apartheid, has died aged 95.</h2>

Project Gutenberg

Example article: The War of the Worlds, by H. G. Wells

<h1>The War of the Worlds</h1>
<h1>by H. G. Wells [1898]</h1>

Example article: The Madcap of the School, by Angela Brazil.

<h2>CHAPTER I</h2>
<h3>THE MOATED GRANGE</h3>
<h1>A TALE OF TWO CITIES</h1>
<h2>A STORY OF THE FRENCH REVOLUTION</h2>
<h2>By Charles Dickens</h2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment