Is there any other way to add background color in section tag? Except using body {background-color: blue;}
, what is are other ways to add background color into section?
I am trying to add the section background color like this:
<!DOCTYPE html>
<html>
<head>
<title>Testing</title>
<style>
#ABC {
background-color: blue;
}
</style>
</head>
<body>
<section id="ABC">
</section>
</body>
</html>
There is no color showing on my browser.
#ABC
does not contains any content. – Slidingheight: 100px
then you can see the background color. – Newbold