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
When and why would you use a prefab? <br> Subject video gaming
IgorC [24]

Answer:

You should also use Prefabs when you want to instantiate GameObjects at runtime that did not exist in your Scene at the start - for example, to make powerups, special effects, projectiles, or NPCs appear at the right moments during gameplay.

3 0
3 years ago
Login
Effectus [21]

Answer:

1. Cell

2. Formula

3. Function

4. Column

3 0
3 years ago
It is a small hand tool used generally in decorative works such as making garnishes
SSSSS [86.1K]

it will probably be a channel knife

6 0
3 years ago
X = 10<br> y = 20<br> x &gt; y<br> print("if statement")<br> print("else statement")
Eduardwww [97]
I dont really understand what you want to do but im gonna answer it as if I understood it.

If x is 10 and y is 20 then y is larger than x
8 0
3 years ago
What did major networks do to combat audience erosion in the 1990s?
S_A_V [24]

Answer: I think is 3. They acquired cable channels. They acquired cable operators.

Explanation:

6 0
3 years ago
Other questions:
  • What is the difference between pulse code modulation and delta modulation? Provide examples.
    11·1 answer
  • A/An ___ is a series of instructions or commands that computer follows used to create software
    10·2 answers
  • Computing devices translate digital to analog information in order to process the information
    8·1 answer
  • 50 points!!!!!
    9·2 answers
  • What happens when the following code segment executes if test.txt does not exist?:<br> A,B,C,D?
    7·1 answer
  • The person who can give a short defination of subroutine will get the brainliest.
    9·1 answer
  • There are some processes that need to be executed. Amount of a load that process causes on a server that runs it, is being repre
    7·1 answer
  • Time
    6·1 answer
  • The foundation of secure communication on the internet replies on asymmetric encryption, with the use of Public and Private keys
    10·1 answer
  • These are pictorial images displayed on a computer screen​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!