I’m a newbie when it comes to programing but I hope to learn soon! I have started to learn HTML and CSS and the basic step was to create a CSS style inside HTML with a short text with background but the background color is not showing… Please tell me why and how to correct this issue?
EDIT: Problem solved! I have used a commentary line RIGHT BEFORE the background code in a seperate line and it somehow issued with the background color line… THANK YOU.
Thank you! I have fixed that line but the background is still white for me, no matter what color I use… Both on Chrome and Edge
EDIT: When I copy and paste it to NOTEPAD and save it works, but when I save it with NOTEPAD++ it doesn’t… so I must’ve some coding error there? ENCODING: ENCODE in UTF-8 I have…
Thank you guys for replies - the problem was in the line I have previously inserted for myself right above “background-color: blue;”. When I moved my comment AFTER the line, the code worked well. Thanks again everyone!