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.

Online Test CSS 2

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


  1. normal, wider, narrower

  2. normal, italic, oblique

  3. normal, bold, lighter

  4. small, medium, large

Answer: Answer is b
Further Reading:

Useful resources, font-style


  1. link

  2. active

  3. lang

  4. ins

Answer: Answer is d
Further Reading:

Useful resources, pseudo-classes


td.right {text-align: right}

td.left {text-align: left}

Which of the following is the right way to use them in an HTML page?

  1. <td class="td.right">Some Text</td>

  2. <td class="right" class="left">Some Text</td>

  3. <td class="td.left" class="td.right">Some Text</td>

  4. <td class="right">Some Text</td>

Answer: Answer is b

BODY {background: url('banner.jpeg') right top}

What is the percentage of the background-position?

  1. 0% 0%

  2. 0% 100%

  3. 100% 0%

  4. 100% 100%

Answer: Answer is c
Further Reading:

Useful resources, background-position


p,i { color:red }

What do you understand about the contextual selector used above?

  1. All the text within a paragraph will be italicized

  2. All the italic text in the page will have red color

  3. All the page text under <p></p> tag and <i></i> tag will be red

  4. All the italic text within a paragraph will be red

Answer: Answer is c

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.

;