News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Mcq Answers for CSS

#styl2 { color: red; }

How will you refer to this style in your web page?

  1. By using the class attribute in a td cell

  2. By using the class attribute in any HTML element which supports the class attribute

  3. By using the id attribute in any HTML element which supports the 'id' attribute

Answer: Answer is c

  1. When you are creating pages for older versions of Netscape Navigator

  2. When you don't want older browsers like IE4 or Netscape 4 to use the style sheet

  3. When you want to include a css file in another css file

  4. There is no such technique available for applying style sheets

Answer: Answer is b, c
Further Reading:

Useful resources, at-import rule, at-import


  1. list-style-type

  2. list-style-position

  3. list-style-image

  4. list-style-align

Answer: Answer is d
Further Reading:

Useful resources, list-style


h2, h4, h5, h6 { color: cyan; }

Which of the following is correct for the above definition?

  1. Grouping of tags is not allowed in the style definition

  2. The style definition should span a single line

  3. Grouping tags should be separated by semicolons

  4. You can group as many tags as you like

Answer: Answer is d
Further Reading:

Useful resources, grouping


  1. Yes

  2. No

Answer: Answer is a

p strong {color: green; }

  1. All strong text and all paragraph text will be displayed in green color

  2. All paragraphs that are contained within <strong></strong> tags will be displayed in green color

  3. All strong text that is contained in a paragraph will be displayed in green color

  4. Only the paragraph text will be displayed in green color

  5. Only the strong text will be displayed in green color

  6. The style definition is erroneous and will not be applied to any element of the webpage

Answer: Answer is b

  1. scroll

  2. visible

  3. hidden

  4. auto

Answer: Answer is b
Further Reading:

Useful resources, overflow


  1. It uses a hash as the separator symbol

  2. It applies the style to only the first element defined with that style

  3. It applies the style to only the last element defined with that style

  4. It applies the style to all the elements defined with that style

Answer: Answer is d
Further Reading:

Useful resources, class


  1. When font size is set to 46pt, the height of the letter 'x' will be 100pt

  2. When font size is set to 100pt, the height of the letter 'x' will be 46pt

Answer: Answer is b
Further Reading:

Useful resources, aspect-value


  1. @media screen, print {  span.med{font-weight:bold}  }

  2. .media screen, print {  span.med{font-weight:bold}  }

  3. .media screen print {  span.med{font-weight:bold}  }

  4. #media screen, print {  span.med{font-weight:bold}  }

Answer: Answer is a
Further Reading:

Useful resources, at-media-rule


Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;