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

9th Jan 2019, 6:52 PM
Liberated Minds
Liberated Minds - avatar
4 Antworten
+ 1
Can you provide the code that you're having problems with?
9th Jan 2019, 7:00 PM
Kabulput
Kabulput - avatar
+ 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'>
9th Jan 2019, 7:17 PM
Kabulput
Kabulput - avatar
+ 1
Try it like this. https://code.sololearn.com/W4o6f93p6Q84/?ref=app also single or double quotes don’t matter (' and "), they both work
9th Jan 2019, 8:14 PM
Korijn Jagersma
Korijn Jagersma - avatar
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
9th Jan 2019, 7:12 PM
Liberated Minds
Liberated Minds - avatar