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
Aleksandr [31]
3 years ago
7

Given the following HTML: Hello WorldLink And CSS: #foo { color: blue; font-size: 32px; } .bar { color: green; font-size: 22px;

font-family: 'Times New Roman' } a { color: inherit; font-size: 18px; } What is the color of the text in the DIV?
Computers and Technology
1 answer:
Pavel [41]3 years ago
6 0

Answer:

Black

Explanation:

Assuming this is right and there are no <DIV> tags:

HTML: Hello WorldLink

Then the color is not defined by the CSS, since there is no DIV markup within the HTML and no generic DIV classes in CSS, so it should be black by default.

Warning: There could be some HTML tags missing in your question due to HTML filtration on Brainly, therefore my answer should be right for the markup above, but may be wrong for the real markup (if something is missing).

You might be interested in
Consider the following code segment. for (int a = 0; a &lt; 10; a++) { for (int b = 10; b &gt; a; b--) { System.out.print("#");
Ket [755]

Answer:

55

Explanation:

Given the codes as below:

  1.        for (int a = 0; a < 10; a++)
  2.        {
  3.            for (int b = 10; b > a; b--)
  4.            {
  5.                System.out.print("#");
  6.            }
  7.        }

There are two layer loops in the code. The outer loop (Line 1) will run for 10 iterations by traversing through a = 0 to a=9. However, the inner loop  (Line 3) will run for 10 + 9 +  8 + 7 +...+ 1 = 55 iterations.

Since the print statement is within the inner loop (Line 5) and therefore the number of printed "#" symbols is dependent on the number of iterations of the inner loop. There will be 55 "#" symbols printed.

6 0
4 years ago
Which of the following decimal (base-10) values is equivalent to the binary (base-2) value 101001?
garik1379 [7]

Answer:

D. 41

Explanation:

101001 is in base 2.

To convert 101001 to base 10;

1*2^5+0*2^4+1*2^3+0*2^2+0*2^1+1*2^0

1*32+0*16+1*8+0*4+0*2+1*1

32+0+8+0+0+1

=41

8 0
3 years ago
Algorithm of how to calculate the area of a square.
USPshnik [31]

Answer:

In order to calculate area of a square, 'A' be the area of square and the length of the square be 'a'. Then we need to calculate A= a*a. Step 2 :- Accept as input, the length of the sides of the square, and store the value in variable a. Step 3 :- Calculate the area of the square (a*a) and store in a variable A.

Explanation:

3 0
3 years ago
Read 2 more answers
Consider a company that needs to sort an array of structures of type Customer by balance, with the largest balance first. Here i
8090 [49]

Answer:

#include <iostream>

#include <string>

#include <cstring>

#include <cstdlib>

using namespace std;

struct Person

{

string name;

int age;

};

int main()

{

struct Person data[10];

struct Person *pData[10],*temp;

string names[] = {"a","b","c","g","z","l","p","q","r","w"};

int num[] = {4,6,34,8,13,90,33,22,18,23};

for(int i=0;i<9;i++)

{

data[i].name = names[i];

data[i].age = num[i];

pData[i] = &data[i];

}

for(int i=0;i<9;i++)

{

for(int j=i+1;j<9;j++)

{

if(pData[i]->name.compare(pData[j]->name)>0)

{

temp = pData[i];

pData[i] = pData[j];

pData[j] = temp;

}

}

}

for(int i=0;i<9;i++)

{

cout<<pData[i]->name<<" "<<pData[i]->age<<endl;

}

}

Explanation:

The line #include <iostream> initializes the program.

This program created an array of only 10 structures, Customer data. Also defined an auxiliary array Customer *pData.

The program uses these parameters to sorts the array of pointers so that when you go through pData in increasing order of index k, the entries pData[k] point to Customer objects in decreasing order by balance, meaning that pdata[0] now points to the customer with the highest balance, and pData[9] points to the customer with the smallest balance.

4 0
3 years ago
In which ways can governments manipulate the media? Select 3 options.
olga_2 [115]

The three ways by which government can manipulate the media are given below:

  • By prosecuting journalists.
  • By restricting the free press.
  • By damaging media credibility.

Thus, the correct options are A, D, and E.

<h3>What is Media?</h3>

In journalism, media may be defined as a means of mass communication that delivers information through newspapers, radio, television, magazines, and internet sources.

Government possesses immense control over media, but things are gradual changes and now media can be considered the fourth pillar of the nation.

Still, the government can manipulate the media according to the requirement of the nation, states, and community.

Therefore, it is well described above.

To learn more about Media, refer to the link:

brainly.com/question/3653791

#SPJ1

6 0
2 years ago
Other questions:
  • What are all the folders located on the DOCK called?
    11·1 answer
  • (BRAINLIEST QUESTION) What are some challenges that will need to be overcome in order for the Internet of Vehicles to become a r
    13·1 answer
  • What is a directed graph?
    5·1 answer
  • Can somebody help me out
    15·1 answer
  • Citing Wikipedia as a reference is not considered a good practice because 1.leverages a neutral point of view. 2.hosts unopinion
    8·1 answer
  • Any device that uses light to read and write information.
    9·2 answers
  • after entering backstage view, and clicking account settings, what are the steps for creating a delegate for an outlook folder
    6·1 answer
  • Bob has started a company and registered its name with the government as a private corporation. He tries to create a domain name
    12·1 answer
  • an existing technology that would allow users to transfer images from the camera to the computer without connecting them
    8·1 answer
  • How do I find unwanted programs on my computer?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!