On This Page

This set of Introduction to Web Programming Multiple Choice Questions & Answers (MCQs) focuses on Introduction To Web Programming Set 2

Q1 | There are ____ different of heading tags in HTML
  • 4
  • 5
  • 6
  • 7
Q2 | To create a blank line in your web page
  • press enter two times
  • press shift + enter
  • insert
    tag
  • insert
Q3 | Which of the following is not a style tag?
  • all of above are style tags
Q4 | The way the browser displays the object can be modified by _____
  • attributes
  • parameters
  • modifiers
  • none of above
Q5 | Which of the following HTML code is valid?
  • all of above are style tags
Q6 | Which of the following is an attribute related to font tag?
  • size
  • face
  • color
  • all of above are style tags
Q7 | HTML supports
  • ordered lists
  • unordered lists
  • both type of lists
  • does not support those types
Q8 | What tag is used to list individual items of an ordered list?
  • li
  • ol
  • ul
  • none of above
Q9 | When should we use path along with file name of picture in IMG tag?
  • path is optional and not necessary
  • when the location of image file and html file are different
  • when image file and html file both are on same location
  • path is always necessary when inserting image
Q10 | Which of the following is not a valid alignment attribute?
  • left
  • right
  • top
  • all of above
Q11 | Which attribute is used with img tag to display the text if image could not load inbrowser?
  • description
  • name
  • alt
  • id
Q12 | Which attribute can be used with BODY tag to set background color green?
  • background=”green”
  • bgcolor=”green”
  • vlink=”green”
  • none of above
Q13 | Which attribute we’ll use with TD tag to merge two cells horizontally?
  • merge=colspan2
  • rowspan=2
  • colspan=2
  • merge=row2
Q14 | A webpage displays a picture. What tag was used to display that picture?
  • picture
  • mage
  • img
  • src
Q15 | Which tag inserts a line horizontally on your web page?

Q16 | Which tag allows you to add a row in a table?
  • and
  • and
  • and
  • and
Q17 | What is the correct HTML for making a hyperlink?