shell: Fix invalid HTML end tags

This isn't XML and tags must either have a full end tag or no end
tag to be valid. Fixed some missing HTML end tags.