I am currently on the third chapter of a book I got on HTML and I was working through one of the exercises and I couldn't for the life of me get it to work like the book showed. That is until I opened the page in IE instead of firefox (the browser I use). Here is the code:
<html> <head><title>Experiment With Fonts and Color</title></head> <body> <basefont face="Arial" size="5" color="blue" /> <p>All the text on this page will display in a <br /> blue Arial font. The base size of the font is 5.</p> <p><font face="times new roman" size="-2" color="black"> To change to a smaller, black Times New Roman font, use the font<br /> element. The -2 in the size indicated that we are reducing<br /> the font two settings relative to the basefont of 5.</font></p>
Just for fun <font color="mediumvioletred">we're going<br /> to change the color of our original font.<br /> Also, did you notice that everything after the closing font<font><br /> tag is back to the original setting (except size of course).</p> </body> </html>
Could someone help me figure out why it will work for IE and not firefox? Btw, I have checked it many times and it's verbatim to the book example.