HTML and Web Technologies Quiz

Test your knowledge of HTML tags, attributes, and web development fundamentals

19 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the correct HTML for adding a background color

  1. <background>yellow</background>
  2. <body background="yellow">
  3. <body style="background-color:yellow">
  4. <color = "yellow">
Question 2 Multiple Choice (Single Answer)

Choose the correct HTML tag to make a text bold

  1. <bold>
  2. <bld>
  3. <text="bold">
Question 3 Multiple Choice (Single Answer)

Choose the correct HTML tag to make a text italic

  1. <italic>
  2. <text="italic>
  3. <ui>
Question 4 Multiple Choice (Single Answer)

What is the correct HTML for creating a hyperlink

  1. <a url="http://www.w3schools.com">W3Schools.com</a>
  2. <a href="http://www.w3schools.com">W3Schools</a>
  3. <a name="http://www.w3schools.com">W3Schools.com</a>
  4. <a>http://www.w3schools.com</a>
Question 5 Multiple Choice (Single Answer)

How can you create an e-mail link?

  1. <mail>xxx@yyy</mail>
  2. <mail href="xxx@yyy">
  3. <a href="xxx@yyy">
  4. <a href="mailto:xxx@yyy">
Question 6 Multiple Choice (Single Answer)

How can you open a link in a new browser window

  1. <a href="url" new>
  2. <a href="url" target="_blank">
  3. <a href="url" target="new">
  4. <a hreaf="url;_blank">
Question 7 Multiple Choice (Single Answer)

What is used to create table of contents of a large document in html?

  1. Hyperlinks
  2. Named anchors
  3. Reference entities
  4. None of the above
Question 8 Multiple Choice (Single Answer)

In the following piece of code, what should be the value given to the attribute selected to indicate a preselected value in the drop down menu when the page loads?

  1. true
  2. false
  3. selected
  4. enabled
Question 9 Multiple Choice (Single Answer)

How will the following be displayed in a web page?&amp;lt;blockquote&amp;gt;This is a blockquote&amp;lt;/blockquote&amp;gt;

  1. ‘This is a blockquote’ will be underlined
  2. ‘This is a blockquote’ will be italicized
  3. ‘This is a blockquote’ will be made bold
  4. ‘This is a blockquote’ will appear with white spaces before and after it.
Question 10 Multiple Choice (Single Answer)

Which tag do we use to redirect browser to a nonframeset version of the web site if frames are not supported by the browser?

  1. noframes
  2. iframe
  3. noframesupport
  4. None of the above
Question 11 Multiple Choice (Single Answer)

What is the title attribute used for?

  1. To define title of the HTML document
  2. To instruct browser where to find stylesheets, metadata etc
  3. To show additional information about an element as a tooltip text when the mouse moves over it
  4. None of the above
Question 12 Multiple Choice (Single Answer)

Which tag is used to toggle control when the user clicks on the text within the element?

  1. toggle
  2. label
  3. caption
  4. None of the above
Question 13 Multiple Choice (Single Answer)

Inversion of Control Pattern (IOC) is also known as ?

  1. Inversion Injection
  2. Dependency Injection
  3. Setter Injection
  4. Pattern Injection
Question 14 True/False

Does Spring enable POJO programming?

  1. True
  2. False
Question 15 Multiple Choice (Multiple Answers)

Features of Spring ?

  1. Light Weight
  2. IOC
  3. Bean Factory
  4. AOP
  5. MVC Framework
Question 16 Multiple Choice (Single Answer)

How many modules are there in Spring?

  1. 5
  2. 6
  3. 7
  4. 8
Question 17 Multiple Choice (Single Answer)

Loose coupling is achieved in Spring using _________ ?

  1. AOP
  2. IOC
  3. Container
  4. MVC Framework
Question 18 True/False

Can you place Sub page into Grid?

  1. True
  2. False
Question 19 Multiple Choice (Single Answer)

Spring supports following injection?

  1. Interface Injection
  2. Getter Injection
  3. Constructor Injection
  4. Destructor Injection