<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakahashi_h</author_name>
  <author_url>https://blog.hatena.ne.jp/nakahashi_h/</author_url>
  <blog_title>websandbag ブログ</blog_title>
  <blog_url>https://blog.websandbag.com/</blog_url>
  <categories>
    <anon>pug</anon>
    <anon>html</anon>
  </categories>
  <description>webを生業にしている人にとっては当たり前の話です。 最近、pugでwebフォームを作る機会がありました。 webフォームでラジオボタンを操る時に、ラジオボタンのテキストでも選択できるようにする手段はいくつかあります。 その手段の一つが、下記のようにinput タグをlabel タグに入れ子してしまう方法です。 &lt;form&gt; &lt;label&gt; &lt;input type=&quot;radio&quot; /&gt; &lt;span class=&quot;label&quot;&gt;テキスト&lt;/span&gt; &lt;/label&gt; &lt;/form&gt; このソースをpugで実現する際に、「入れ子」のイメージに釣られてつまづいてしまいました。 今回は反省も含めて備忘…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.websandbag.com%2Fentry%2F2021%2F04%2F26%2F162700&quot; title=&quot;【pug】『inputタグの中には要素を入れられない』を間違うとどうなるか？ - websandbag ブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nakahashi_h/20181025/20181025133159.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-26 16:27:00</published>
  <title>【pug】『inputタグの中には要素を入れられない』を間違うとどうなるか？</title>
  <type>rich</type>
  <url>https://blog.websandbag.com/entry/2021/04/26/162700</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
