how to add 2 class names using html string code example Example: html add two classes <a href="#" class="class1 class2">My Text</a>