Computer Science, asked by shahidshaik4076, 9 months ago

Riya wants to add a background color to all the heading element on her page. Suggest the property that can be used for the same.

Answers

Answered by vp538864
7

Answer:

fullscreen , the background color will be a different color, and it will expand to fill the entire viewport height and width. Try pressing F11 versus pressing the button in the example to enter the fullscreen mode. Using F11 the entire page will be fullscreen mode, not just the element itself.

Explanation:

hope it helps

please mark me as brainlist

Answered by Rameshjangid
0

Answer:- The background color can be changed in three different ways. They are:-

1. Inline style attribute

2. Internal CSS

3. External CSS

Or you can use the syntax - h1{background-color: # FFFFFF}

The HTML5 does not support the "bgcolor" attribute of <body> tag, therefore, we will need to use the inline style attribute and the internal CSS options for changing the color of a web page. For the internal CSS add <style> tag at the beginning of the html file and add the tag to which the changes are being applied for in this case and the <body> tag is used.

The syntax is:-

/* For inline style attribute */

<tag style="property:value">

/* For internal CSS attribute */

<style>

 tagName{

   property:value;

 }

</style>

Or you can use the syntax - h1{background-color: # FFFFFF}

To know more about the topic please go through the following links

Link1:- https://brainly.in/question/22798717?

Link2:- https://brainly.in/question/33814160?

#SPJ2

Similar questions