Tell us what’s happening:
Describe your issue in detail here.
I have started my first project after learning “Responsive Web Design” and I have to make a tribute page. I am using the online compiler suggest called Pen.
In the HTML screen I have coded…
<main id="background-set">
<title id="text-set">A Tribute to Volodymyr Zelenskyy</title>
</main>
My background is white when I want red.
My question is how do I get a red background. I don’t know if there is a compile button, I haven’t seen one. So it must compile automatically?
I don’t know why I don’t have a red background.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36 Edg/99.0.1150.30
Title tags are something different,
They provide the title for the web page and are used in the head section.
The title text will show up in the browser’s title bar like this
<title>Learn to Code — For Free — Coding Courses for Busy People</title>
For these projects you don’t need to use the title tag at all.
Here is some more information concerning the title tag
Keep in mind, what you put inside the HTML frame, is placed inside the document body, so when you target body in the CSS, you style the container of all the content you placed in the HTML.