<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>HTML</anon>
  </categories>
  <description>その1 id と class - by shigemk2idは1つのページに1つしか存在してはいけない。 Ajaxなどで複数生成されてもダメなので、 idのタグを作成する場合は注意すること。なお、複数のHTMLページに同じ名前のidがあるのは問題ない。 (同じページに同じ名前のidがつけられたタグが複数つけられるのが問題である)と言ってclassをつけると変なCSSが当たる可能性もありうるので、 エレメントの名前はよりユニークにすることが望まれる。idをつけると、href=&quot;#アンカー名&quot;でページ内リンクも可能になる利点がある。 そのため、CSSの当たっていないclassやidがあっても問題で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120603%2F1338658895&quot; title=&quot;id と class その2 - by shigemk2&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-06-03 02:41:35</published>
  <title>id と class その2</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120603/1338658895</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
