When id attribute fails, class attribute complements the elements.
Reload Page ||
remove 1st #x2 :add #x3 || ||
remove existing #x3 :add #x4||
Test // Retest After
This is a test: id numbed and class="x1" backs up
This is a test: with id="x1" class="x2 x1"
- Instructions:
- First click on Test // Retest After, note the background
change in the top and middle div element.
- Click on Reload
- Click on 1st#x2 or remove existing #x3, then Test//Retest Again, now the
background of the div element in the middle will change.
- Click on remove#x3: add#x4 to alter values of id attribute