1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sp2606 [1]
3 years ago
11

Explain Cascading Style Sheets and what they do. Describe their primary function, two effects that this function has on programm

ing, and explain why this is such a benefit to the programmer.
Computers and Technology
1 answer:
Leni [432]3 years ago
4 0

Answer:

Cascading Style Sheets are special codes that is used to style or format a web page.

Explanation:

<em>Imagine, you have two web pages, and you have to style them both, using a single format. For example, in two linked web pages, you wanted both information, can be read in uniform colors, style and font size. It would be much easier if you apply only one formatting tag to them right? But that is not the case in HTML (Hypertext Mark Up Language). You have to create formatting tags that is mixed with them to be able to style or format the page or text. CSS can make this easier. All you have to do is use a single format the call on the style by means of tag. The purpose of this is to create uniformity to all web pages and to minimize the coder's efforts. It can also be used in formatting tables (like cellpaddings, border styles, border thickness, color and other things that requires formatting in HTML. Listed below is a sample CSS codes for two different web pages. </em>

<em> </em>

<em>This file is saved as try.html </em>

<em><html> </em>

<em><head>  </em>

<em><link rel="stylesheet" type="text/css" href="style.css"> </em>

<em></head> </em>

<em><body> </em>

<em><p> The quick brown fox </p> </em>

<em></body> </em>

<em></html> </em>

<em> </em>

<em>And another file is saved as trytwo.html </em>

<em><html> </em>

<em><head>  </em>

<em><link rel="stylesheet "type="text/css" href="style.css"> </em>

<em></head> </em>

<em><body> </em>

<em><p> Jumps over the lazy dog </p> </em>

<em></body> </em>

<em></html> </em>

<em> </em>

<em>style.css </em>

<em> body{ </em>

<em>background-color: lightblue;  } </em>

<em> </em>

<em>p{ </em>

<em>color: navy; } </em>

<em> </em>

<em> Both webpage will be using the same font color which is navy blue. This would prevent the coder or programmer to redo the font formatting tags.With a single file, he can re use the styles to other webpages. </em>

<em> It would benefit the programmer to save himself effort and time. And it would allow him to debug the codes in much easier way. </em>

<em />

You might be interested in
How can website illustrate cooperations and kidness?
Brilliant_brown [7]
It can illustrate cooperation's and kindness by allowing many different people and strangers to post their opinions and thoughts as long as they are being positive about it! Hope i helped
8 0
3 years ago
Debug the following program.
mamaluj [8]

Answer:

The debugged program is as follows:

A=2

B=2

For I=1 to 10

PRINT A

TEMP = A

A=B

B=TEMP+A

NEXT I

END

Explanation:

First, the value of B should be changed to 4 (because the second term of the sequence is 2

Next, change Display to Print because Q-basic uses the print keyword to display output

The sequence is not properly generated. So, I update that part of the program to:

<em>For I=1 to 10 </em>

<em>PRINT A </em>

<em>TEMP = A </em>

<em>A=B </em>

<em>B=TEMP+A </em>

<em>NEXT I </em>

<em />

Lastly, the loop is controlled by variable I (not X).

So change NEXT X to NEXT I

4 0
2 years ago
How many spaces should you use for an indent?
vladimir1956 [14]
I believe it's 5 spaces for an indent. If that's incorrect plz forgive me lol.
7 0
3 years ago
Please help I’ll give brainleistt
iren2701 [21]

Answer:

7. B

8. A

9. B

10. B

11. A

Explanation:

6 0
2 years ago
Input two numbers and print their sum products difference division and remainder​
likoan [24]

\tt n1=int(input("Enter\: first\:no:"))

\tt n2=int(input("Enter\: second\:no:"))

\tt sum=n1+n2

\tt diff=n1-n2

\tt pdt=n1*n2

\tt div=n1//n2

\tt rem=n1\%n2

\tt print("Sum=",sum)

\tt print("Difference=",diff)

\tt print("Product=",pdt)

\tt print ("Division=",div)

\tt print("Remainder=",rem)

Output:-

Enter first no:4

Enter second no:3

Sum=7

Difference=1

Product=12

Division=1

Remainder=1

7 0
2 years ago
Other questions:
  • WILL UPVOTE ALL.
    7·1 answer
  • The command for creating a PivotTable is found in the <br> tab.
    7·1 answer
  • Write a function addOne that adds 1 to its integer referenceparameter. The function returns nothing.
    11·1 answer
  • e do loop differs from the while loop in that a. the while loop will always execute the body of the loop at least once b. the do
    9·1 answer
  • Which of these is one of the primary concerns for protecting your family when online?
    9·2 answers
  • , 13 dB correspond to a power ratio of ....?
    14·1 answer
  • Why the internet is not considered a mass medium in Africa​
    13·2 answers
  • Pls help have absolutely no clue how to delete this
    12·2 answers
  • Difine the term pigment​
    14·3 answers
  • what is one benefit of placing voip gateways in geographically separated branch offices that have an existing wan connection?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!