CSS Multiple choices

Total available count: 25
Subject - Web Development
Subsubject - CSS

Which is the correct CSS syntax?







The selector points to the HTML element you want to style. The declaration block contains one or more declarations separated by semicolons. Each declaration includes a CSS property name and a value, separated by a colon.

The CSS Syntax is made up of three parts: 
a selector, 
a property, 
a value

Syntax: selector {property: value}

The CSS properties specify what to style of the targeted HTML elements. 
Here is a CSS rule example: 

div { border-bottom: 1px solid red; font-weight : bold; }?

This example creates a CSS rule that targets all div elements and then sets the CSS properties border-bottom and font-weight for the targeted elements.

Next 4 multiple choice(s)


Which HTML attribute is used to define inline styles?


Which HTML tag is used to define an internal style sheet?


Where in an HTML document is the correct place to refer to an external style sheet?


What is the correct HTML for referring to an external style sheet?