Karma/Anti-conventions: Difference between revisions

BryanWB (talk | contribs)
No edit summary
BryanWB (talk | contribs)
No edit summary
Line 1: Line 1:
Not closing <img /> or <meta /> tags.  
'''Not closing <img /> or <meta /> tags.'''


You can usually get away with not closing these tags but they could cause weird rendering of elements that follow them. If you don't close <img>, the browser might think that any following elements are children rather than siblings and display them accordingly.
You can usually get away with not closing these tags but they could cause weird rendering of elements that follow them. If you don't close <img>, the browser might think that any following elements are children rather than siblings and display them accordingly.