Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialchristopher brown
1,339 Pointscss vs htmi changing colors
It wants me to change a color of the text to purple using htmi; I was under the impression that you can only do that using css can you help me get some clarity on this so I can move on?
<!doctype html>
<html>
<head>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<h1>Welcome to My Web Page!</h1>
</body>
</html>
1 Answer
Ari Misha
19,323 PointsHiya Chris! Styling your web page can be done in many ways. Using external stylesheets is the most used way to style your web page and most recommended one as well. But there are other ways as well, like you could style your web page using <style> tags directly on your HTML. It'll override any style that exists for the same element or class or id in your external style sheet, right? There are other ways as well like you could do it via JavaScript as well. But using external stylesheets is the most recommended one. I hope it helped. (: