Html 之 fieldset legend details summary 试验2207281650
测试代码
DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"/><title>FieldsetLegendDetailsSummarytitle><style>
style><script>
script>head><body>
<header style="font-size:30px; ">fieldset legend details summaryheader>
<section>
<fieldset>
<legend>
<div>details summary 写在了 legend 里面div>
<details>
<summary>SUMMARYsummary>
<dl>
<dt>dtdt>
<dd>dd1dd>
<dd>dd2dd>
<dd>dd3dd>
<dd>dd4dd>
<a style="text-decoration:none;" >text-decoration:nonea>
dl>
details>
legend>
<details>
<summary>details summary 写在 legend 下面 , 另一个 fieldset legend 写在 这个 summary 下面 summary>
<fieldset>
<legend>details里summary下的fieldset legendlegend>
<label style="font-size:80px; font-weight:bold; ">详情label>
fieldset>
details>
fieldset>
section>
body>html>
效果