Why use definition lists (DL,DD,DT) tags for HTML forms instead of tables?

前端 未结 11 1612
醉酒成梦
醉酒成梦 2020-12-02 06:29

I\'ve come across a few examples recently that do things like:

Full Name:
11条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 07:08

    Definition lists have semantic meaning. They are for listing terms (

    ) and their associated definitions (
    ). Therefore in this case a
    portrays the semantic meaning of the content more accurately than a table.

提交回复
热议问题