<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>HTML</anon>
  </categories>
  <description>HTML5になってからdevなどのブロック要素をaタグで囲ってもOKになったので エリア自体をリンクにしたいときなど、まるっとaタグで囲ったりする事も多いです。が、ここで少し気をつけたい事。 aタグをaタグで囲むとブラウザが空気読んで勝手にaタグの閉じタグを出力してくれるので崩れます！例えば、 エリア全体はhogeのリンクで、fugaをクリックした時はfugaに飛ばしたいみたいな感じで、次のようなHTMLを書いたとします。 &lt;div class=&quot;area&quot;&gt; &lt;a href=&quot;hoge&quot;&gt; &lt;p&gt;hoge&lt;a href=&quot;fuga&quot;&gt;fuga&lt;/a&gt;&lt;/p&gt; hogehoge &lt;/a&gt; &lt;/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2014%2F04%2F24%2F234351&quot; title=&quot;HTML aタグの中にaタグを入れると崩れる - かもメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/k/kikiki-kiki/20140424/20140424233843.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-04-24 23:43:51</published>
  <title>HTML aタグの中にaタグを入れると崩れる</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2014/04/24/234351</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
