Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
反正有一个字段集图例有不同的格式。例如,标题会很大,但副标题会很小?
标题:副标题
<legend>Title: <span class="subtitle">Subtitle</span></legend>
CSS:
fieldset legend .subtitle { font-size: 80%; }
看看Multiple FieldSet Nested FieldSet
该<legend>元素可以包含任何内联元素,因此您几乎可以应用任何您想要的格式。
<legend>