Question

In: Computer Science

23a - In CSS, what are the braces used for? { and } b - What...

23a - In CSS, what are the braces used for? { and }

b - What does the following CSS statement do? p { color:red; font-size:25px; font-family:Helvetica; }

c - What does the following CSS statement do? h1, h2 { border-bottom: 1px solid black;}

Solutions

Expert Solution

23. a)for ruleset curlybraces ({ })are used in CSS

A CSS ruleset consist selector and declaration block

example: h1{ color: red, font-size :10px}

b)

p { color:red; font-size:25px; font-family:Helvetica; } //paragraph with color red and with font 25 and font type as Halvetica

c) h1, h2 { border-bottom: 1px solid black;}

it gives 2 headings with underline of 1px with soli black color


Related Solutions

What are the reasons for adding CSS to web programming? Also provide a briefing of CSS...
What are the reasons for adding CSS to web programming? Also provide a briefing of CSS rules, syntax, and styles.
Latest version of CSS. What is the browser requirement to view the latest version of CSS...
Latest version of CSS. What is the browser requirement to view the latest version of CSS implemented web pages? Name 1 or 2 web browser types and versions that support the latest CSS. How do web designers design a web page with the latest CSS version?
1.What are the THREE (3) types of CSS? a) Internal, External and Online Style Sheets b)...
1.What are the THREE (3) types of CSS? a) Internal, External and Online Style Sheets b) Embedded, Outsider and Inline Style Sheets c) Embedded, Linking and Inline Style Sheets 2. The width, src and border are examples of an ______. * a) entity b) element c) attribute d) operation d) Internal, External and Inline Style Sheets 3. Which of the following codes best represents inserting image from folder named images? a) <p>Image:</p> <img src="/chrome/images.gif" alt="Google Chrome" width="33" height="32" /> b)...
what is the static, relative, and absolute positioning in CSS?
what is the static, relative, and absolute positioning in CSS?
a) What is a control chart and what is it used for? b) What are the...
a) What is a control chart and what is it used for? b) What are the steps for constructing a Control Chart? c) Explain the out of control signals?
(a) What is an RDD in Spark? What is it used for? (b) What is In-Memory...
(a) What is an RDD in Spark? What is it used for? (b) What is In-Memory Computing? Briefly describe its advantages.
Design a steel flexural member that is continuously braces and 12 feet long. There is a...
Design a steel flexural member that is continuously braces and 12 feet long. There is a uniformly distributed live load of 1 k/ft, and uniformly distributed dead load of 1 k/ft and a concentrated live load of 8.4 kips at a distance of 5 feet from the left support. use 36 ksi steel.
What does it mean that the style sheets are cascading? What is the order of priority of CSS?
What does it mean that the style sheets are cascading? What is the order of priority of CSS? List 5 things you can do with CSS, which cannot be done easily in HTML?
A) What is the DV? __________ What is the IV? B) What analysis should be used...
A) What is the DV? __________ What is the IV? B) What analysis should be used to determine if there is a difference in balancing time as a function of treatment? C) What is the result of that analysis? D) Given that result, can we conclude amphetamine caused a difference in balancing time? If so, what was the change (i.e., did amphetamine reduce or increase balancing time)? E) Given the result of the test, can we conclude that amphetamine does...
Related to HTML/CSS. Please choose correct answer. Descendent selectors can be used to select.... a. only...
Related to HTML/CSS. Please choose correct answer. Descendent selectors can be used to select.... a. only nested element b. only parent/child element c. only nested type selector d. any element state
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT