Is it bad thing if I add more than one class for one object. Let's say:
<a href="#" class="paren" class="defaul">text</a>
Don't ask me why, I just need it.
Thanks.
Is it bad thing if I add more than one class for one object. Let's say:
<a href="#" class="paren" class="defaul">text</a>
Don't ask me why, I just need it.
Thanks.
You can use multiple class names (a perfectly normal thing to do), but are only allowed one class attribute on your HTML element.
Do this instead:
<a href="#" class="paren defaul">text</a>