Skip to content

Instantly share code, notes, and snippets.

@zachattack
Created August 30, 2012 15:18
Show Gist options
  • Save zachattack/3530622 to your computer and use it in GitHub Desktop.
Save zachattack/3530622 to your computer and use it in GitHub Desktop.
html accordion formatting example
<div id="accordian">
<h3><a href="#">Clickable link to expand the content within</a></h3>
<div>
<p>Whatever content you would like.</p>
<ul>
<li>Lists of stuff are totally ok.</li>
<li>Even links to things that are silly like <a href="http://theoatmeal.com/">The Oatmeal</a>.</li>
</ul>
<p>Whatever content you would like.</p>
</div>
<h3><a href="#">Clickable link to expand the content within</a></h3>
<div>
<p>Whatever content you would like.</p>
<ul>
<li>Lists of stuff are totally ok.</li>
<li>Even links to things that are silly like <a href="http://theoatmeal.com/">The Oatmeal</a>.</li>
</ul>
<blockquote><p>Fancy block quotes are totally cool.</p></blockquote>
</div>
<h3><a href="#">Clickable link to expand the content within</a></h3>
<div>
<p>Whatever content you would like.</p>
<ul>
<li>Lists of stuff are totally ok.</li>
<li>Even links to things that are silly like <a href="http://theoatmeal.com/">The Oatmeal</a>.</li>
</ul>
<p>Whatever content you would like.</p>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment