[ad#adsense-banner-01]

In this video lesson, you’ll learn the basics of how to use CSS to style your webpage. CSS stands for cascading style sheets, and provides formatting information for the html markup on your web page.

Code examples from the video

Styles defined in the head section

<style type="text/css">
p{
	color:red;
	font-size:30px;
	font-family:"Curlz MT";
	border:3px dotted black;
	text-align:center;
	background:yellow;
}
p a{
	color:purple;
	text-decoration:none;
	font-weight:bold;
}
</style>

Including a CSS file into your HTML document

<link rel="stylesheet" href="styles.css" type="text/css" media="screen"/>

Defining styles as an attribute in html elements

<p style="color:red;font-weight:bold;">This is my bold red paragraph</p>

Resources mentioned in the video

[ad#adsense-image-large]

Share this with someone:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • Furl
  • StumbleUpon
  • Technorati
  • Tipd
  • TwitThis
  • De.lirio.us
  • Netvibes
  • Reddit
  • Tumblr

Leave a Reply

You must be logged in to post a comment.