Quiznetik

Introduction to Web Programming | Set 1

1. What tag uses to display a picture in a webpage?

Correct : C. img

2. <b> tag makes the enclosed text bold. What is other tag to make text bold?

Correct : A. <strong>

3. Tags and test that are not directly displayed on the page are written in _____ section.

Correct : B. <head>

4. Which tag inserts a line horizontally on a web page?

Correct : A. <hr>

5. What should be the first tag in any HTML document?

Correct : C. <html>

6. Which tag allows us to add a row in a table?

Correct : D. <tr> and </tr>

7. How can we make a bulleted list?

Correct : C. <ul>

8. How can we make a numbered list?

Correct : B. <ol>

9. How can we make an e-mail link?

Correct : D. <a href=”mailto:xxx@yyy”>

10. Choose the correct HTML tag to make a text italic

Correct : D. <i>

11. Choose the correct HTML tag to make a text bold?

Correct : A. <b>

12. What is the correct HTML for adding a background color?

Correct : B. <body bgcolor=”yellow”>

13. Choose the correct HTML tag for the smallest size heading?

Correct : B. <h6>

14. What is the correct HTML tag for inserting a line break?

Correct : A. <br>

15. What does vlink attribute mean?

Correct : A. visited link

16. Which attribute is used to name an element uniquely?

Correct : B. id

17. Which tag creates a check box for a form in HTML?

Correct : B. <input type=”checkbox”>

18. To create a combo box (drop down box) which tag will we use?

Correct : A. <select>

19. To create HTML document we require a

Correct : C. just a notepad can be used

20. The special formatting codes in HTML document used to present content are

Correct : A. tags

21. HTML documents are saved in

Correct : C. ascii text

22. Some tags enclose the text. Those tags are known as

Correct : D. pair tags

23. The _____ character tells browsers to stop tagging the text

Correct : B. /

24. In HTML document the tags

Correct : D. can be written in both uppercase or lowercase

25. Marquee is a tag in HTML to

Correct : C. display text with scrolling effect

26. There are ____ different of heading tags in HTML

Correct : C. 6

27. To create a blank line in your web page

Correct : C. insert <br> tag

28. Which of the following is not a style tag?

Correct : D. all of above are style tags

29. The way the browser displays the object can be modified by _____

Correct : A. attributes

30. Which of the following HTML code is valid?

Correct : B. <font color=”red”>

31. Which of the following is an attribute related to font tag?

Correct : D. all of above are style tags

32. HTML supports

Correct : C. both type of lists

33. What tag is used to list individual items of an ordered list?

Correct : A. li

34. When should we use path along with file name of picture in IMG tag?

Correct : B. when the location of image file and html file are different

35. Which of the following is not a valid alignment attribute?

Correct : C. top

36. Which attribute is used with img tag to display the text if image could not load in browser?

Correct : C. alt

37. Which attribute can be used with BODY tag to set background color green?

Correct : B. bgcolor=”green”

38. Which attribute we’ll use with TD tag to merge two cells horizontally?

Correct : C. colspan=2

39. A webpage displays a picture. What tag was used to display that picture?

Correct : C. img

40. Which tag inserts a line horizontally on your web page?

Correct : A. <hr>

41. Which tag allows you to add a row in a table?

Correct : D. <tr> and </tr>

42. What is the correct HTML for making a hyperlink?

Correct : A. <a href=”http://google.com”>google</a>