EP 64: CSS 101 Tutorial

How to Program with Java Podcast - A podcast by Trevor Page: Java Guru | Programmer | Teacher

Cascading Style Sheets are a bit of a tricky beast in HTML. Given this fact, I wanted to dedicate an entire section to just this topic. Let’s start with the basics, shall we? What are Cascading Style Sheets (CSS)? Well, we’ve already talked a little bit about HTML formatting tags (like ), but that kind of formatting is embedded within your HTML code itself. What I mean by that is while you are typing out the HTML code for your page, you’ll actually have to type in  in order to apply styles to some of your HTML. What if you don’t want to clutter your HTML with style code, but you still want to apply styles to your website… well that’s where CSS comes in. Cascading Style Sheets actually exist as a completely separate file to your HTML code. ...continue reading