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

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Data Engineer (m/f/d)

@ Project A Ventures | Berlin, Germany

Principle Research Scientist

@ Analog Devices | US, MA, Boston