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