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?
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?
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 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.
Debug3-4.css You’ve been given the initial HTML and CSS code for this web page, but there...
Debug3-4.css You’ve been given the initial HTML and CSS code for this web page, but there are several errors in the CSS stylesheet. Use your knowledge of CSS to locate and fix the errors. The body element should have a width that is 90% of the width of the browser window ranging from a minimum of 600 pixels up to a maximum of 1024 pixels. Fix the syntax errors in the body style rule that defines the width of the...
Create CSS styling for this xml code 5.2. Change the CSS so only a single course...
Create CSS styling for this xml code 5.2. Change the CSS so only a single course is displayed. 5.2.1. You may add IDs or classes to the XML file a desired. <InformationSystems>    <Classes>        <CourseHeader>            <CourseNumber>CIS 145</CourseNumber>            <CourseName>Introduction to Relational Database</CourseName>            <Credits>5</Credits>        </CourseHeader>        <Description><![CDATA[Introduces relational database concepts and practices using business-related examples. OFTEC 111 or 108 recommended, or comparable competencies. Prerequisite: OFTEC 141 or MATH...
What is the difference between HTML attributes and CSS properties? What are depricted elements and how...
What is the difference between HTML attributes and CSS properties? What are depricted elements and how can we address them? Why would a browser not support certain fonts? 1 paragraph for each plz
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT