Should I put a Semicolon (;) when I use onclick=""?
;
onclick=""
<p onclick="closeLightBox();">Click<p>
or:
<p onclick="closeLightBox()">Click<p>
The semicolon in this position, is valid, but not mandatory.
1.4m articles
1.4m replys
5 comments
57.0k users