Template:Tag: Difference between revisions

    m>SMcCandlish
    (And HTML 5.1 now calls them "void" elements, so permit that as well.)
    m>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}}}>}}
      }}<!--
      }}<!--