介绍
HTML <legend>
标签是为 HTML <fieldset>
标签中的子内容提供标题或说明的重要方式。<legend>
标签用于标识字段集(fieldset)内容,并为页面提供适当的标题。在本实验中,我们将学习如何使用 <legend>
标签以及与之相关的各种 CSS 属性。
注意:你可以在 index.html
中练习编码,并学习如何在 Visual Studio Code 中编写 HTML。请点击右下角的“Go Live”以在端口 8080 上运行 Web 服务。然后,你可以刷新 Web 8080 标签以预览网页。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
html(("HTML")) -.-> html/AdvancedElementsGroup(["Advanced Elements"])
html(("HTML")) -.-> html/LayoutandSectioningGroup(["Layout and Sectioning"])
html(("HTML")) -.-> html/FormsandInputGroup(["Forms and Input"])
html/LayoutandSectioningGroup -.-> html/layout("Layout Elements")
html/FormsandInputGroup -.-> html/forms("Form Elements")
html/FormsandInputGroup -.-> html/form_group("Grouping Form Elements")
html/FormsandInputGroup -.-> html/form_access("Accessibility in Forms")
html/AdvancedElementsGroup -.-> html/inter_elems("Interactive and Dynamic Elements")
subgraph Lab Skills
html/layout -.-> lab-70786{{"HTML Fieldset 标题"}}
html/forms -.-> lab-70786{{"HTML Fieldset 标题"}}
html/form_group -.-> lab-70786{{"HTML Fieldset 标题"}}
html/form_access -.-> lab-70786{{"HTML Fieldset 标题"}}
html/inter_elems -.-> lab-70786{{"HTML Fieldset 标题"}}
end