HTML tags in conditionals: can they be closed outside of the conditionals?

I think that’s exactly the issue. Jeremey responded with a very useful explanation when I asked a similar question. It wasn’t about conditionals, but about <$list> widgets, but I’m guessing that much the same thing applies.