Computer Science, asked by Kunika5118, 1 year ago

Which is the correct css syntax?

a. Body:color=black

b. {body;color:black}

c. {body:color=black(body}

d. Body {color: black}?

Answers

Answered by StaceeLichtenstein
9

Option(d) is the correct answer to the given question .

Explanation:

The css is used for styling the webpage there are 3 types of css we used according to the developer need .The correct syntax to declared any css is given below

    tagname

   {

 attribute:property  

   }

  • The option(a),option(b) and option(c) is not follow the correct syntax for declaring the css so these are incorrect option .
  • The option(d) follow the correct syntax that's why it is correct option.

Learn More :

  • brainly.in/question/14730318
Answered by aryansuts01
0

Answer:

Concept:

Cascading Style Sheets (CSS) is a style sheet language that describes how a document authored in a markup language like HTML or XML looks. Along with HTML and JavaScript, CSS is a key component of the World Wide Web. CSS is a style sheet that separates presentation from text, allowing you to control layout, colours, & fonts. This separation can increase content accessibility, provide more flexibility and control when specifying presentation features, and allow many web pages to share formatting by supplying the required CSS in a separate file. CSS file, which lowers the structure content's complexity and repetition; and enables the. To enhance page load performance between pages that share the same CSS file and layout, the file should be cached.

Given:

Which is the correct css syntax?

a. Body:color=black

b. {body;color:black}

c. {body:color=black(body}

d. Body {color: black}

Find:

find the correct option for the given question

Answer:

The correct answer is option (d)

Body {color: black}

CSS is a scripting language for styling and laying out web pages, including changing the font, colour, size, and spacing of text, breaking it into multiple columns, and adding movements and other decorative components. This lesson provides a light introduction to CSS, covering the fundamentals of how it works, just what syntax looks likes, and how to use it to add decoration to HTML.

#SPJ2

Similar questions