CSS and Web Styling Fundamentals

Test your knowledge of CSS properties, HTML styling, and basic web development concepts including color, background styling, and style sheet management.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What does CSS stand for?

  1. Colorful Style Sheets
  2. Cascading Style Sheets
  3. Creative Style Sheets
  4. Computer Style
Question 2 Multiple Choice (Single Answer)

What is the correct HTML for referring to an external style sheet?

  1. <style src="mystyle.css">
  2. <stylesheet>mystyle.css</stylesheet>
  3. <link rel="stylesheet" type="text/css" href="mystyle.css">
  4. None of the above
Question 3 Multiple Choice (Single Answer)

Where in an HTML document is the correct place to refer to an external style sheet?

  1. In the <head> section
  2. At the top of the document
  3. In the <body> section
  4. At the end of the document
Question 4 Multiple Choice (Single Answer)

Which HTML tag is used to define an internal style sheet?

  1. <style>
  2. <script>
  3. <css>
  4. None of the above
Question 5 Multiple Choice (Single Answer)

Which HTML attribute is used to define inline styles?

  1. font
  2. styles
  3. style
  4. class
Question 6 Multiple Choice (Single Answer)

Which is the correct CSS syntax?

  1. {body;color:black}
  2. {body:color=black(body}
  3. body {color: black}
  4. body:color=black
Question 7 Multiple Choice (Single Answer)

How do you insert a comment in a CSS file?

  1. /* this is a comment */
  2. // this is a comment
  3. // this is a comment //
  4. ' this is a comment
Question 8 Multiple Choice (Single Answer)

Which property is used to change the background color?

  1. color:
  2. bgcolor:
  3. background-color:
  4. None of the above
Question 9 Multiple Choice (Single Answer)

How do you add a background color for all

elements?

  1. h1.all {background-color:#FFFFFF}
  2. h1 {background-color:#FFFFFF}
  3. all.h1 {background-color:#FFFFFF}
  4. None of the above
Question 10 Multiple Choice (Single Answer)

How do you change the text color of an element?

  1. text-color:
  2. color:
  3. text-color=
  4. fgcolor:
Question 11 Multiple Choice (Single Answer)

Which of the following abbreviations is incorrectly expanded?

  1. CTS - Common Type System
  2. CLS - Common Language Specification
  3. CAS - Component Authorization Specification
  4. FCL - Framework Class Library
Question 12 Multiple Choice (Single Answer)

Which of the following features was first introduced with .Net 2.0

  1. .Net Compact Framework
  2. Support for IP6
  3. Windows Card Space
  4. Generics
Question 13 Multiple Choice (Single Answer)

Which of the following statements is false about Common Language Runtime

  1. .NET Framework 2.0 CLR was was introduced with VS 2005
  2. .Net Framework 3.0 uses the .NET Framework 2.0 CLR
  3. .Net Framework 3.5 uses the .NET Framework 2.0 CLR
  4. .Net Framework 3.5 SP1 first time introduce the .NET Framework 3.0 CLR
Question 14 Multiple Choice (Single Answer)

The New object Relational Mapping (ORM) framework to be introduced with Microsoft.Net 3.5 SP1 is known as

  1. ADO.ORM
  2. ADO.NET Entity Framework
  3. ADO.Hibernate
  4. ORM.ADO
Question 15 Multiple Choice (Single Answer)

Which of the following statements is false about Windows Communication Framework (WCF)

  1. WCF Service can define Data, Service, fault and Message contract
  2. MSMQ binding, Web Service (WS) binding, Basic binding and TCP binding are part of standard binding supported by WCF
  3. WCF also support authentication using Issued token by secure token service
  4. WCG support Message reliability without ordered delivery