Template:Tag: Difference between revisions

From Vigyanwiki
Template>SMcCandlish
(And HTML 5.1 now calls them "void" elements, so permit that as well.)
Template>Train2104
(fix order of switch statements)
Line 16: Line 16:
  Closing tag
  Closing tag
-->{{#switch:{{{2|pair}}}
-->{{#switch:{{{2|pair}}}
  |c|close
   |e|empty|s|single|v|void
   |e|empty|s|single|v|void
   |o|open =
   |o|open =
  |c|close
   |p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}}
   |p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}}
  }}<!--
  }}<!--

Revision as of 06:34, 6 August 2017

<tag>...</tag>

Template documentation