Computer Science, asked by aditya676, 1 year ago

how can you change the background colour of a web page

Answers

Answered by AdiN05517
1
Hi friend!

<marquee direction="right" behavior="alternate"><big><big><b>Answer:</b></big></big></marquee>

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