JOA IT – Computer Programmer – Computer Operator 2

Which of the following property is used as the shorthand property for the padding properties?

Correct! Wrong!

CSS padding property is used to define the space between the element content and the element border. Top, bottom, left and right padding can be changed independently using separate properties. By using the shorthand padding property we can also change all padding properties at once

The CSS property used to make the text bold is -

Correct! Wrong!

The font-weight property is used for setting the thickness and boldness of the font. It is used to define the weight of the text. The available weight depends on the font-family, which is used by the browser.

Are the negative values allowed in padding property?

Correct! Wrong!

Which of the following property is used as the shorthand property of margin properties?

Correct! Wrong!

CSS Margin property is used to define the space around elements. The Top, bottom, left and right margin can be changed independently using separate properties. By using the shorthand margin property we can change all margin properties at once.

The CSS property used to specify the transparency of an element is -

Correct! Wrong!

The CSS opacity property is used to specify the transparency of an element. In simple words, you can say that it specifies the clarity of the image.

Which of the following is used to specify the subscript of text using CSS?

Correct! Wrong!

In CSS, the vertical-align property is used to make the text superscript or subscript. The "sub" of vertical-align property is used to make the text subscript in CSS. The subscript text appears in a smaller font and the half character below the normal line. It is generally used to write chemical equations or chemical formulas such as H2O, H2SO4, etc.

Which of the following CSS property is used to specify the space between every letter inside an element?

Correct! Wrong!

The letter-spacing property in CSS is used to control the space between every letter inside an element or the block of text. It sets the spacing behavior between the characters of the text. Using this property, we can increase or decrease the space between the characters of the text.

The CSS property used to specify whether the text is written in the horizontal or vertical direction?

Correct! Wrong!

The writing-mode CSS property specifies whether the text is written in the vertical or horizontal direction. This property sets whether the lines of text are laid out vertically or horizontally. It specifies the direction in which the content flows on the page.

Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter?

Correct! Wrong!

The text-transform CSS property allows us to change the case of the text. It is used to control text capitalization. The "capitalize" value of the text-transform property transforms the first character of each word to uppercase. It will not capitalize the first letter after the number.

How to select the elements with the class name "example"?

Correct! Wrong!

The class selector selects HTML elements with a specific class attribute. It is used with a period character. (full stop symbol) followed by the class name. A class name should not be started with a number.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.