JOA IT – Computer Programmer – Computer Operator

CSS stands for

Correct! Wrong!

CSS stands for Cascading Style Sheet. CSS is used to design HTML tags. CSS is a widely used language on the web. HTML, CSS and JavaScript are used for web designing. It helps the web designers to apply style on HTML tags.

Which of the following is the correct syntax for referring to the external style sheet?

Correct! Wrong!

The external style sheet is generally used when you want to make changes on multiple pages. It uses the tag on every pages and the tag should be put inside the head section

The property in CSS used to change the background color of an element is

Correct! Wrong!

The background-color property is used to specify the background color of an element. The background of an element covers the total size, including the padding and border and excluding margin.

The property in CSS used to change the text color of an element is

Correct! Wrong!

The color property in CSS is used to set the color of HTML elements. Typically, this property is used to set the font color of an element. In CSS, we use color values for specifying the color. We can also use this property for the border color and other decorative effects.

The CSS property used to control the element's font size is -

Correct! Wrong!

The font-size property in CSS is used to specify the height and size of the font. It affects the size of the text of an element. Its default value is medium and can be applied to every element.

The HTML attribute used to define the inline styles is

Correct! Wrong!

If you want to use inline CSS, you should use the style attribute to the relevant tag. The inline CSS is also a method to insert style sheets in HTML documents. This method mitigates some advantages of style sheets so it is advised to use this method sparingly.

The HTML attribute used to define the internal stylesheet is -

Correct! Wrong!

The internal style sheet is used to add a unique style for a single document. It is defined in section of the HTML page inside the tag.

Which of the following CSS property is used to set the background image of an element?

Correct! Wrong!

The background-image property is used to set an image as a background of an element. By default, the image covers the entire element.

Which of the following is the correct syntax to make the background color of all paragraph elements yellow?

Correct! Wrong!

The background-color property in CSS is used to change the background color of an element. The correct syntax to make the background color of all paragraph elements yellow is: p {background-color: yellow;}.

Which of the following is the correct syntax to display the hyperlinks without any underline?

Correct! Wrong!

JOA IT - Computer Programmer - Computer Operator

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.