details和summary标签实现折叠效果

<details>
          <summary>Season1</summary>
              <details>
                <summary>Episode1</summary>
                <p>剧情简介</p>
              </details>
            <details>
              <summary>Episode2</summary>
              <p>剧情2</p>
            </details>
			
		  <summary>Season2</summary>
              <details>
                <summary>Episode1</summary>
                <p>剧情简介</p>
              </details>
            <details>
              <summary>Episode2</summary>
              <p>剧情2</p>
            </details>
</details>

本文链接: https://www.168itw.com/seo/details-summary/
转载请注明转载自:168itw

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注