Friday, July 20, 2012

HTML Quiz

1. Which of the below lines of HTML is correct?
 A. <strong>bold text<strong>
 B. </strong>bold text</strong>
 C. <b>bold text</b>
 D. <b>Bold text<b>

2. What does HTML stand for?
 A. Hyperlinks and Text Markup Language
 B. Home Tool Markup Language
 C. Hyper Text Markup Language
 D. Hyper Text Medium Language

3. What is the correct HTML tag for inserting a line break?
 A. <br />
 B. <BREAKLINE />
 C. <break />
 D. </BR/>

4. What is the preferred way for adding a background color in HTML?
 A. <body background="red">
 B. <body style="background-color:red">
 C. <background>red</background>
 D. <bgcolor= red>

5. Who is making the Web standards?
 A. Mozilla
 B. The World Wide Web Consortium
 C. Microsoft
 D. Internet

6. Choose the correct HTML tag for the largest heading
 A. <h1>
 B. <heading>
 C. <h6>
 D. <h7>

7. Choose the correct HTML tag to make a text italic
 A. <i>
 B. <italic>
 C. <it>
 D. <IT>

8. What is the correct HTML for creating a hyperlink?
 A. <a href="http://www.mycomputer.com">MyComputer</a>
 B. <a url="http://www.mycomputer.com">MyComputer</a>
 C. <a name="http://www.mycomputer.com">MyComputer</a>
 D. <a>http://www.mycomputer.com</a>


9. What is the correct HTML for making a button area?
 A. <input type="button" />
 B. <textarea>
 C. <input type="buttonnumber" />
 D. <input>button</input>

10. What is the correct HTML for inserting an image?
 A. <img href="image.gif" alt="MyImage" />
 B. <image src="image.gif" alt="MyImage" />
 C. <img alt="MyImage">image.gif</img>
 D. <img src="image.gif" alt="MyImage" />

No comments:

Post a Comment