« Web, HTML, Tech Forum

how to change all the text colors on my layout??

Posted by clovvie

posted

Forum: Web, HTML, Tech

new user here and I've been basically struggling with this for hours, I seriously don't know what to do anymore.


Report Topic

1 Reply

Reply by Gluma

posted

body {

color: insert color hex code (or color name if it's just a common color, like "red");

}

or

main {

color: insert color hex code or name;

}

For example, if you wanna make your text green, you'd write this:

<style>

body {

color: green;

}

</style>

Or use main :o I kinda forgot the difference between the two but one or the other should work to your liking. The HTML Group has a HTML guide filled with basic codes, if that'll help you with other stuff


Permalink Report Reply