Oct. 11, 2023, 5:34 p.m. | Eric Hu

DEV Community dev.to


To acquire the source code for all the examples highlighted throughout the course, please visit www.ericsdevblog.com.



In the previous article, we discussed how to select HTML elements, now it is time to talk about the next step, how to apply styles to them.


Let's start easy, you can define a color for almost any element using CSS. For instance, as we've seen before, you can change the color of the text by specifying a color property.



p { …

apply article beginners code color colors course css easy examples html next talk them tutorial

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US