Can I Use Tag For List Of Article Tags? December 24, 2023 Post a Comment After the article I have list of tags related to article. Is it semantically correct to wrap list of those tags in html tag? If no, what would be the proper one? Solution 1: The <nav> tag defines a set of navigation links.Notice that NOT all links of a document should be inside a <nav> element. The <nav> element is intended only for major block of navigation links.Browsers, such as screen readers for disabled users, can use this element to determine whether to omit the initial rendering of this content. Solution 2: The tags are part of the article’s metadata (just like the author name, the publication date, etc.), so they should be in a footer element, and this footer should be inside the article element:<article><footer><!-- tags --></footer></article>Copy(Some might use header instead of footer, but its default role banner is not really appropriate, and it can’t have the contentinfo role, which would be appropriate.)Baca JugaCan Paragraph Tags Be One Sentence Long?Right Usage Of The Tag In Html5Label Tag SemanticsFor such a simple list of tags, another sectioning element isn’t really needed.Related: my answer about semantic markup for tags. Share You may like these postsHow To Properly Use The Html Semantic Elements In A Blog?Is There A Proper Way To Make Responsive Text?Is There An Easy Way To Convert Html With Multiple Tags Into Proper Surrounding Tags In Javascript?Can I Style Numbering An Ordered List That Has A Start Attribute Value? Post a Comment for "Can I Use Tag For List Of Article Tags?"
Post a Comment for "Can I Use