Ask Question
11 December, 07:40

In a CSS document, within what must you enclose properties and values when you define a rule for a specified selector?

+2
Answers (1)
  1. 11 December, 08:24
    0
    Curly Braces {}.

    Explanation:

    The syntax for writing a CSS is as following:-

    selector {

    property : value;

    }

    CSS is used for providing the style to the HTML page. Such as fonts, background, height, width etc.

    For example:

    h1{

    font:20px;

    background:red;

    }

    The above written CSS is for the h1 tag in HTML. The font size will be 20 pixels and background color will be red.

    So we can say that we need to enclose properties and values in curly braces.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “In a CSS document, within what must you enclose properties and values when you define a rule for a specified selector? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers