0
how to change a background in html
I look at basic and tried to mimic it all I get is the code spelled out what am I doing wrong
4 Antworten
+ 1
Can you provide the code that you're having problems with?
+ 1
<html>
<head>
<body> bgcolor ='#ff0000'
This format is wrong.
You're supposed to put attribute between the name of the element and the ">" character of the opening tag of an element.
Try this:
<html>
<head>
<body bgcolor ='#ff0000'>
+ 1
Try it like this.
https://code.sololearn.com/W4o6f93p6Q84/?ref=app
also single or double quotes don’t matter (' and "), they both work
0
none in particular that might be the problem,I was just trying html and the example In the lesson is like
<html>
<head>
<body> bgcolor ='#ff0000'
etc