Skip to content

Instantly share code, notes, and snippets.

@ryuone
Created May 19, 2011 02:21
Show Gist options
  • Save ryuone/980051 to your computer and use it in GitHub Desktop.
Save ryuone/980051 to your computer and use it in GitHub Desktop.
a > divは駄目?
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.js'></script>
<title>a &gt; div</title>
</head>
<body>
<article class="section">
<p>
<a href="http://www.google.co.jp/">
<div >
<img src="http://www.google.co.jp/logos/classicplus.png" alt="">
</div>
<span>Google</span>
</a>
</p>
</article>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment