What is CSS?
HTML is used to structure or create the skeleton of a web page, CSS or Cascading Style Sheets is used in web programming to improve the presentation of said webpage. Without CSS, most pages would look like they were written on a typewriter, black text on a white background. While some don’t mind this old timey feeling, a lot of folk like a little more color and pizazz on the page. Besides making things look pretty what does CSS really do? How about we learn a little big together? CSS works by interacting with HTML elements, think h1 and p tags for example. They start off again, as black text on a white background.
What is CSS?
It's known as Cascading Style Sheets with an emphasis on the style
This is what the webpage looks like, black text, white background. Let’s spice it up with CSS shall we?
h1 { background-color:black; color:red; }
p { background-color: red; font-weight: bolder; }
Notice how the color makes the text pop? Mind you this is for demonstration and not what actual CSS should look like. It’s not 2006 and this isn’t MySpace. On that subject though, CSS is what helped to make your MySpace account pop!! Now that we’ve gotten the basics of CSS down, time to move on to where to place the CSS code. There are 3 different ways to add CSS code to your HTML page. These are External CSS Sheets (which are saved as .css file designation), Internal CSS Code (which is written inside the header tag), and Inline CSS Code which is included inside the HTML code tag itself! Based on my experience, External CSS seems to be the way to go to cover your page like an umbrella. Internal can be used specifically for a page while the inline is saved for a special occasion.
Nowadays, there is a new way of doing CSS which is called Bootstrap. It is a free and open source framework which is intended to be used with mobile applications since most people see websites with their phones rather than their computer screens. The quick and dirty version is that Bootstrap is a Library of other types of codes and I have only scratched the surface. Within my learning, I've only seen Bootstrap used for CSS coding and I can't wait to see what it can do for other languages!