Duration: 17 minutes
Summary: In this video, we continue our CSS discussion. We learned in the previous lesson that we use CSS to apply styles to HTML elements. We can change the background of a div or the font of the page. In some cases you need to apply a style to all divs on the page. But that will not always be the case. Today, we will see how we can create a class and then apply the style to elements with that class. We can also be more specific in giving elements ids. Then we can manipulate the style for an element with that id (there could only be one element with a unique id on the page). Along the way, we will briefly talk about comments and see how we can comment html and css sections.
Methodology: Using simple examples to illustrate the key points.
Technology Used: CSS, HTML and Visual Studio 2010
Keyword: CSS, HTML, Visual Studio 2010, class, id, body.