I'm making a website without using anything other than html and headers can't be seen on the screen because of the background. So, I wanted to make them white instead of black. Can I do it without using anything besides html?
CodePudding user response:
Is this what you are trying to achieve?
<html>
<header style="background-color:black; color:white">
Header
</header>
<p>content</p>
</html>
CodePudding user response:
To change the colour without using CSS just use the color and background-color of style attribute in html .I have attached an sample code for your reference. Refer the link to understand more on styles. https://www.w3schools.com/html/html_styles.asp
<html>
<header style="background-color:black">
Header
</header>
<p>content</p>
</html>