This is a trivial example of basic DOM page manipulation. The "getElementsByName" method is used to capture all "font" tags into an array.
Then the array is looped, and the value of the current "color" attribute is read into a variable by using the "getAttribute" method
Depending on the current color, the attribute value is "toggled" (switched) from blue to red (and vice versa) by using the "setAttribute" method!