Both the ' and " are same and does same function but it's just the coding standard followed by coders
Using double quotes for HTML
i.e.
<div class="colorFont"></div>
Using single quotes for JavaScript
i.e.
$('#container').addClass('colorFont');
$('<div class="colorFont2></div>');
It's just level of use " as a top-tier and ' as a second tier
<a href="#" OnClick="Alert('Clicked!');">Testing Blog</a>
0 Comment(s)