tags:

views:

39

answers:

1

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.

+12  A: 

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>
RedFilter
@RedFilter: Thank you.
hey