Computer Science, asked by J00N, 2 months ago

How to add background color in an HTML document using Notepad? I have been using that CSS terminology thing and it is not working pls help.

Answers

Answered by maryamrazzaq2512
3

Explanation:

To set the background color in HTML, use the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML <body> tag, with the CSS property background-color. HTML5 do not support the <body> tag bgcolor attribute, so the CSS style is used to add background color.

Answered by Rohitsamanta150
1

Answer:

You can’t do specifically for notepad without using an software. Every window will change its color but it will change your notepad background’s color too.

Follow the steps:

1) Type windows + R key on keyboard and then write regedit.

2) Go to HKEY_CURRENT_USER

3) Search for control panel

4) Then click on colors

5) restart your pc.

6) Now your notepad’s background color will change.

Precaution : make a backup of registry before following these steps.

Similar questions