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 trialJosue Aparicio
169 Pointswhat is a style tag
style tag
<style></style>
<h1>Nick Pettit</h1>
3 Answers
geoffrey
28,736 PointsIt's within this tag you put all your css classes, ID, all selectors and rules to style your webpage. Most often css styles are declared in a separated stylesheet, but sometimes you can style the page by adding styles directly within the page you are working on, using the style tag.
alessandradaudt
14,500 PointsIt's where you can put the style information for a page or part of a page. You will learn that you can use a style tag but it's better to use external stylesheets instead.
Adam Hire
2,917 PointsAs the other 2 folks above me said, the <style></style> are essentially tag that can be used to add some flare to your actual "base" page(index.html if you are mostly starting on the videos here). You can almost entirely replace it with proper CSS use as you get more comfortable.