This is an experiment with Javascript and font useage. Note that in javascript terms, the document is an object and the write statement that I am going to include below is a method or in other words an action that is executed on the document. When I do the write below, color and the size are being done to the document at a particular time and this is an instance. Objects can also have properties related to them as shown in the example after dealing with fonts.



Now I am going to try this without the double quotes around the whole. You can see that this doesn't work. Essentially the material inside the double quotes will be written to the screen and the HTML code that is included will be executed. Notice that the attempt to get red font below does not work because the double quotes around FONT are missing.

Note also since I am using double quotes outside. I need to use single quotes or no quotes inside for the color.