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

<style type="text/css">

div.container{
width:38em;
 border:1em solid black;
}    

div.split{
box-sizing:border-box;
width:50%;
border:1em silver ridge;
float:left;
}

</style>

HTML code:

<div class="container"> 
<div class="split">Box 1.</div>
<div class="split">Box 2.</div>
</div>
  1. Two boxes will be stacked one on another.

  2. Box 1 will be on the left hand side and Box 2 will be on the right hand side horizontally.

  3. Box 2 will be on the left hand side and Box 1 will be on the right hand side horizontally.

  4. Both boxes will overlap each other.

Answer: Answer is a
Further Reading:

Both box has exact 50% width and 1em border. Border will be added with height and width. So each box will be stacked instead of standing horizontally.


em { 
color: rgba(0,0,255,1) 
}
  1. Opacity 1 with solid red color

  2. Opacity 0 with solid blue color

  3. Opacity 0 with solid red color

  4. Opacity 1 with solid blue color

  5. None of the above

Answer: Answer is d
Further Reading:

Useful resources, rgba-color


body 
{ 
text-replace: "a" "b" "b" "c";
}

What will be the output of the following string if you implement the text-replace style?

andy lives behind café

  1. bndy lives behind cbfe

  2. cndy lives cehind ccfe

  3. andy lives behind café

  4. andy lives cehind bafe

Answer: Answer is b
Further Reading:

All ‘a’ characters are converted to ‘b’. Subsequently, all ‘b’ characters are converted to ‘c’. Useful resources, text-replace


  1. Small

  2. Medium

  3. Large

  4. Default

Answer: Answer is b
Further Reading:

Useful resources, font-size property


  1. 0 to 256

  2. 0 to 255

  3. -250 to 250

  4. -255 to 255

Answer: Answer is b
Further Reading:

Useful resources, rgb-color


  1. textbox1, textbox2 ,textbox3

  2. textbox2, textbox3 ,textbox1

  3. textbox3, textbox2 ,textbox1

  4. textbox1, textbox3 ,textbox2

Answer: Answer is b
Further Reading:

Useful resources, nav-index property


ruby-text (in XHTML: rt)

  1. It specifies that an element defines a ruby base.

  2. It specifies that an element contains one or more ruby bases.

  3. It specifies that an element defines a ruby text.

  4. It specifies that an element contains one or more ruby texts.

  5. It specifies that an element defines a ruby structure.

Answer: Answer is c
Further Reading:

Useful resources, css ruby model


  1. 0

  2. 1

  3. Normal

  4. None

Answer: Answer is b
Further Reading:

Useful resources, opacity property


  1. Button

  2. Span

  3. table row

Answer: Answer is c
Further Reading:

Minimum width can’t be applied to non-replaced inline elements, table rows, and row groups. Useful resources, min-width


  1. img { image-resolution: auto }

  2. img { image-resolution: auto, 300dpi }

  3. img { image-resolution: 300dpi }

  4. None of the above

Answer: Answer is c
Further Reading:

Useful resources, image-resolution


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.

;