html add two classes code example Example: html add two classes <a href="#" class="class1 class2">My Text</a>