Search results
Results From The WOW.Com Content Network
This template provides a WCAG/ISO-standards-compliant accessible alternative to comma- or dash- (or other single character-) separated lists, per WP:FLATLIST and MOS:HLIST. Lists output by {{ Flatlist }} and {{ Hlist }} are semantically and visually identical, and differ only in the wiki-markup used to create the lists.
This template provides a WCAG/ISO-standards-compliant accessible alternative to comma- or dash- (or other single character-) separated lists, per WP:FLATLIST and MOS:HLIST. Lists output by {{ Flatlist }} and {{ Hlist }} are semantically and visually identical, and differ only in the wiki-markup used to create the lists.
Here, linebreaks still cannot occur inside the list item, even if they are inside <pre>, and the HTML comment trick does not work inside <pre>, which is why this technique is only suitable for short code examples. For longer ones, see the <syntaxhighlight> MediaWiki tag. The HTML comment trick does work between elements inside the same list item: