Pages

Monday, June 27, 2011

Cascading Style Sheets (CSS)

CSS also known as cascading style sheets is the name of the visual markup language. This determines the visual look of most websites.

HTML and CSS somewhat partner which each other to determine the overall look of websites. CSS is easy to learn and can enhance websites dramatically.

To get started, I’m going to show you guys 2 examples of some CSS code. The first example is CSS in an internal html page. Second example is CSS on an external html page. Both methods works perfectly, but the second example is used more in websites with a lot of pages.

Don't worry about what some of the code looks like. I Just want you to understand how to place the CSS into pages.

Internal CSS:

<head>
<title>My first styled page</title> 
<style type="text/css">
CSS code goes between the style tags.
</style>
</head>
<body>

External Style Sheet:

The link to the style sheets go between the head tags. We will talk more about this in the upcoming days.

<head>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
 <title>My first styled page</title>
</head>
<body>
</html>

Please give us some feedback on how we're doing. We appreciate all the support from the community.

21 comments:

  1. Great post.
    +Follow

    ReplyDelete
  2. awesome! you guys are doing great (that was my feedback ;))

    ReplyDelete
  3. nicejob, show ur java skills!
    +1 and following

    ReplyDelete
  4. I learned a lot about HTML in web design in high school, but not much about CSS. Thanks.

    ReplyDelete
  5. I never advanced past HTML, but this is some pretty good help.

    ReplyDelete
  6. Brilliant... now I can make great sheets !!

    ReplyDelete
  7. Nice post. Do you know what language finance industry are using? send me a message? or on blog. I have always wanted to know this.

    ReplyDelete
  8. WOW this is such a useful blog! Cheers!

    ReplyDelete
  9. Interesting stuff, i've always been interesting in programming but never learned much in HTML past high school.
    +Follow

    ReplyDelete
  10. i know a little about HTML and CSS and that's some info which is always good to refresh :D
    +1

    ReplyDelete
  11. Ah think I learned this one in info class. Need a bit of a refresher but coming back to me now.

    ReplyDelete
  12. Sweet gotta learn CSS sometime!

    +Followed

    ReplyDelete
  13. Never really understood what CSS was until though, thanks!

    ReplyDelete
  14. Been trying to teach myself c++ recently and it tough but i admire you're interest in html.

    ReplyDelete
  15. Not going to lie, had to reread a bit because my mind kept wandering.

    ReplyDelete
  16. I am working on CSS and waiting for more tutorials.

    ReplyDelete
  17. Good to know that some people actually understand this stuff.

    ReplyDelete