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

.redborder {
border-color:#ff0000;
border-width:thin thick
}

What type of border will be displayed if one of the paragraphs defined in the webpage uses this style?

 

  1. This will display a red border with thin top and bottom

  2. This will display a red border with thick top and bottom

  3. This will display a red border with thick left and right

  4. This will not display any border

Answer: Answer is d
Further Reading:

This will not display any border, because border style is not specified.


  1. font-weight

  2. font-variant

  3. font-size-adjust

  4. font-size

Answer: Answer is c
Further Reading:

Useful resources, font-size-adjust-prop


  1. Image will have zero width and height so it will be hidden.

  2. Image will be positioned at the upper left corner.

  3. Image will be positioned at the lower right corner

  4. None of the above

Answer: Answer is b
Further Reading:

Useful resources, background-position


td#aln {
text-align: center;
color: blue
}

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

  1. By using the class attribute on a td cell

  2. By using the id attribute on a td cell

  3. By using the class attribute on any HTML element which supports the class attribute

  4. By using the id attribute on any HTML element which supports the id attribute

Answer: Answer is b

  1. visible

  2. hidden

  3. scroll

  4. auto

Answer: Answer is a, b, c, d
Further Reading:

Useful resources overflow


  1. Yes

  2. No

Answer: Answer is a
Further Reading:

To override a in line style, use !important rule. Useful resources, !important


  1. When using CSS, positioning can be absolute, relative or dynamic

  2. The float property for text/images can be left, right or center

  3. The values for visibility can be true or false

  4. The display property sets how an element is displayed

Answer: Answer is d
Further Reading:

Useful resources, display property


  1. blockquote { text-padding: 2em 4em 5em }

  2. blockquote { padding-x: 2em 4em 5em }

  3. blockquote { padding-y: 2em 4em 5em }

  4. blockquote { padding: 2em 4em 5em }

Answer: Answer is d
Further Reading:

Useful resources, padding-properties


  1. expanded

  2. inline-table

  3. table-row

  4. table-column-group

Answer: Answer is a
Further Reading:

Useful resources, display property


  1. wait

  2. pointer

  3. text

  4. image

Answer: Answer is d
Further Reading:

Useful resources, ‘cursor’ property


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.

;