Code formatting - slash in self closing tags

Hello everyone

Shame to ask this, how can I get <br /> <img /> self closing tags in html files.

I tried in xhmtl files, it works well.

Any help is greatly appreciated!

1 comment
Comment actions Permalink

Not sure I follow you... Is it about Emmet (i.e. generating tags when entering name and hitting Tab)?

In HTML5 tags like <br> or <img> do not require a "/ " for closing them like "<br/> " (,

However, you can easily change current behavior in "Settings | Editor | Live Template | Zen Html | br/img"

Please also feel free to vote for


Please sign in to leave a comment.