Quiz on HTML


1. What is the code for creating a red background in an HTML document?

 

2. What will the tag <b> do?

 

3. What command would you use to put a blank line in a program?

 

4. Write the code that displays a graphic file called "DOG.PNG", that is 200 by 400 pixels and is left justified.

 

5. Write the code to create a hyper-link to the Greenpeace homepage, where their address is "www.greenpeace.org".

 

6. Write the code for a two-by-two table and is numbered 1-4.

 

7. Fix any errors in the following code. <html> <head> <title>My first page </head> <body> Now is the time for all good men to come to the aid of their country. </tml>

 

A basic HTML page is very easy to create. It is harder to create a good HTML page.