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 trialChris Ko
5,556 PointsDoes every html doc come w/ default styling?
I noticed that this introductory code does not include any font type or size instructions. Is there a default setting? Just curious.
1 Answer
Aurelian Spodarec
10,801 PointsYes, they do. Each browser has it's own 'styles' that applies to the markup langauge, as well as to programming languages like JavaScript. That why frameworks and libraries are good, because they remove all the unconsiositnes and save a lot of time.
You can use styles like normalize.css or reset.css( makes every style on the page the same), etc.. to help your workflow etc..
Hope this helps
Chris Ko
5,556 PointsAh, so it varies by browser. And we would use our style sheets (in this case) to override the browser's defaults. Thanks!
dreezy
8,162 Pointsdreezy
8,162 Pointsit has its default yes and you will have to customize them with css.