how can you change the background colour of a web page
Answers
Answered by
1
Hi friend!
You need to put the following attribute in the <body> tag of the document in order to change the background colour of the webpage - bgcolor is the attribute.
The syntax for it is:
<html>
<head>
Whatever...
</head>
↓
<body bgcolor="blue"> OR <body bgcolor=#0000FF>
You can put either way. But remember if you are putting the colour name then put it inside double-inverted commas, but those are not needed in the case of colour code.
Hope you found my answer helpful. Keep Smiling!
You need to put the following attribute in the <body> tag of the document in order to change the background colour of the webpage - bgcolor is the attribute.
The syntax for it is:
<html>
<head>
Whatever...
</head>
↓
<body bgcolor="blue"> OR <body bgcolor=#0000FF>
You can put either way. But remember if you are putting the colour name then put it inside double-inverted commas, but those are not needed in the case of colour code.
Hope you found my answer helpful. Keep Smiling!
Similar questions