Semantic HTML of an articles list

前端 未结 5 705
故里飘歌
故里飘歌 2020-12-23 11:28

In a typical index of articles (like a blog without excerpt) like this image:

\"example\"

those items shoul

5条回答
  •  無奈伤痛
    2020-12-23 12:07

    If each item represents an article, then each should be represented using

    elements.

    If you feel that it's an ordered or unordered list of articles, then you could use

      or
        elements respectively.

        I would recommend keeping the markup as simple as possible and as complex as necessary, so something along the lines of:

提交回复
热议问题