<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CSS Video Tutorials &#187; CSS Basics</title>
	<atom:link href="http://cssvideos.com/css-index/css-basics/feed/" rel="self" type="application/rss+xml" />
	<link>http://cssvideos.com</link>
	<description>Learn CSS</description>
	<lastBuildDate>Wed, 25 Jan 2012 06:28:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Embedding CSS in Your Website</title>
		<link>http://cssvideos.com/css-basics/embedding-css-in-your-website/</link>
		<comments>http://cssvideos.com/css-basics/embedding-css-in-your-website/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 23:18:30 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Embedding CSS]]></category>
		<category><![CDATA[external stylesheet]]></category>
		<category><![CDATA[Inline]]></category>
		<category><![CDATA[Inline styles]]></category>
		<category><![CDATA[internal stylesheet]]></category>
		<category><![CDATA[link]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=108</guid>
		<description><![CDATA[Hello again and welcome to CSSvideos.com. My name is Ashton Sanders and this video will show you how to embed CSS into your website. Now that you know the basic CSS Syntax and how to use the CSS Selector, I will describe the three ways you can embed (or use) Cascading Style Sheets in your [...]]]></description>
			<content:encoded><![CDATA[<p>Hello again and welcome to CSSvideos.com. My name is Ashton Sanders and this video will show you how to embed CSS into your website.</p>
<p>Now that you know the basic CSS Syntax and how to use the CSS <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span>, I will describe the three ways you can embed (or use) <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span> in your website.</p>
<h3>Inline CSS</h3>
<p>The first way is called <em>Inline <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span></em>. You can add CSS directly into the elements in your markup with the &#8220;<span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">style</span>&#8221; attribute.</p>
<blockquote><p>&lt;div style=&#8221;color:red;&#8221;&gt;<br />
&lt;p style=&#8221;font-size:12px;&#8221;&gt;</p></blockquote>
<p><em>&#8220;Style&#8221;</em> is a &#8220;Core <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> Attribute&#8221; so you can apply it to any visual <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span>/XHTML elements. (This excludes: <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">html</span>, head, title, base, meta, param, script and style.)  In other words you can use it on any HTML element that can actually be seen (the &lt;body&gt; element and its children).</p>
<p>This may seem to be the easiest way of using CSS, but it is not recommended as it completely ignores the best parts of <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading Style Sheets</span>. You might as well use font tags instead of CSS, but I&#8217;ll get into that more later in this video.</p>
<h3>Internal Style Sheets</h3>
<p>The second way adds CSS to a single document or web page by adding the following code into the &lt;head&gt; of your document using the &lt;style&gt; element.</p>
<blockquote><p>&lt;style type=&#8221;text/css&#8221;&gt;</p>
<p>div {color: red;}<br />
p {font-size: 12px;}</p>
<p>&lt;/style&gt;</p></blockquote>
<p>As you can see, <em>&lt;style&gt;</em> is an HTML element that is opened and closed. Within the <em>&lt;style&gt;</em> element is the CSS that will be applied to that page. There is no limit to the amount of CSS you can put inside the <em>&lt;style&gt;</em> element. You would enter this code in the &lt;head&gt; area of your web page (anywhere after &lt;head&gt; and before &lt;/head&gt; in your HTML document) and that would apply this CSS to the elements of that web page.</p>
<h3>External Style Sheets</h3>
<p>The third, and most adventagous way to embed CSS into a document uses <strong>External Cascading Style Sheets</strong> (or <em>External Style Sheets</em>).  An external CSS file is simply a text file with a &#8220;.css&#8221; extension. This file can then be included into many different pages. This allows you to make one document that has the styling for your entire website. Then you include that file into every page of your website. This is the recommended way of using CSS in your website as it lets you make global visual changes (to an entire website) by only tweaking one file.</p>
<p>For Example, lets say you have a website where all the paragraphs are black, and you want to change them to grey. Since you have an external Style Sheet, you just open up that one CSS file and change the style for paragraphs to:<em> color:grey; </em>Now all the paragraphs on your website are grey!</p>
<p>Here&#8217;s the code you would use to include an external style sheet into a webpage:</p>
<blockquote><p>&lt;link type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; href=&#8221;/link/to/stylesheet.css&#8221; /&gt;</p></blockquote>
<h3>Conclusion</h3>
<p>Thank you for watching this CSS Video. I hope you learned something from it and are able to apply it on your own  <a href="http://www.webhostingsearch.com/web-page-hosting.php" target="_blank">web page hosting</a> sites. This is the last of the CSS Basic Videos. Next, we will be getting into the CSS Properties!</p>
<p>See you soon,<br />
Ashton Sanders</p>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/embedding-css-in-your-website/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>CSS Selectors Part 2</title>
		<link>http://cssvideos.com/css-basics/css-selectors-2/</link>
		<comments>http://cssvideos.com/css-basics/css-selectors-2/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 20:25:51 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Selectors]]></category>
		<category><![CDATA[Descendant Selector]]></category>
		<category><![CDATA[Selector]]></category>
		<category><![CDATA[Syntax]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=59</guid>
		<description><![CDATA[Hi this is Ashton Sanders with CSS Videos.com and this is the second video about CSS Selectors. In CSS Selectors Part 1, we covered how you can use HTML tags, ID&#8216;s and Classes to select what to apply your CSS to. In this video we&#8217;ll talk about Applying the same CSS to multiple elements. Using [...]]]></description>
			<content:encoded><![CDATA[<p>Hi this is Ashton Sanders with CSS Videos.com and this is the second video about CSS Selectors. In <a title="CSS Selectors" href="/css-basics/css-selectors-2/">CSS Selectors Part 1</a>, we covered how you can use <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> tags, <em>ID</em>&#8216;s and <em>Classes</em> to select what to apply your CSS to.</p>
<p>In this video we&#8217;ll talk about</p>
<ol>
<li>Applying the same CSS to multiple elements.</li>
<li>Using <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span>&#8217;s hierarchy to be more specific about what elements are selected.</li>
</ol>
<h3>Selecting Multiple Elements at Once</h3>
<p>To select two separate elements at the same time and apply the same styling to each, normally you&#8217;d write it as this:</p>
<blockquote><p>h1  { color: red;}<br />
h2  { color: red;}</p></blockquote>
<p>Or  you can use a comma to separate the selectors and put them together like this:</p>
<blockquote><p>h1, h2  { color: red;}</p></blockquote>
<p>Nope, not very complicated at all. This line of CSS will make all &lt;h1&gt; and &lt;h2&gt; tags red. You can apply the same styles to as many selectors as you want. There&#8217;s no limit.</p>
<blockquote><p>h1, h2, #item, .red   { color: red;}</p></blockquote>
<p>In this line of CSS, we have applied the same styling to four different selectors. All &lt;h1&gt; tags, &lt;h2&gt; tags, elements with the <em>id=&#8221;item&#8221;</em> and <em>class=&#8221;red&#8221;</em>.</p>
<h3>CSS Descendant <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span></h3>
<p>Of the CSS Basics, I probably use the CSS Descendant <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span> the most. This is wher eyou use the hierarchy of your <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> to define which elements get &#8220;styled&#8221; (as opposed to assigning classes to everything. To quickly define hierarchy, here is some simple HTML:</p>
<blockquote><p>&lt;body&gt;<br />
&lt;div&gt;<br />
&lt;p&gt;Random Text&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;p&gt;More Text&lt;/p&gt;<br />
&lt;/body&gt;</p></blockquote>
<p>We have two paragraphs (&lt;p&gt;) in this HTML. The only difference between them is that one is the &#8220;<strong>child</strong>&#8221; of a &lt;div&gt; and the other is not. It can also be said that the &lt;div&gt; is the &#8220;<strong>parent</strong>&#8221; of the &lt;p&gt;, just like how the &lt;body&gt; is the &#8220;<strong>grandparent</strong>&#8221; of the first paragraph and the  &#8220;<strong>parent</strong>&#8221; of the second paragraph. A simpler way to say this is: the &lt;body&gt; is an &#8220;<strong>ancestor</strong>&#8221; (<strong>parent</strong>, <strong>grandparent</strong>, etc.) of both paragraphs. We can use these relationships in our CSS Selectors.</p>
<p>Let&#8217;s use CSS to only change the color of all <strong>paragraphs with a div as an ancestor</strong>:</p>
<blockquote><p>div p { color: red;}</p></blockquote>
<p>Yes, it&#8217;s that simple. The space represents ancestory.</p>
<blockquote><p>body p { color: red;}</p></blockquote>
<p>This CSS would make both paragraphs red since both paragraphs  are a descendants (child, grandchild, etc.) of the &lt;body&gt; tag.</p>
<p>Note: There are more ways to use your HTML hierarchy in your CSS Selectors (like only direct, siblings, etc.) but as they don&#8217;t work in all browsers in use today *cough* IE6 *cough*&#8230; I won&#8217;t go into them in detail here.</p>
<p>That pretty well summarizes what you  can do with CSS Selectors!</p>
<p>The next video will talk about the three ways of including your <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span> into an HTML document.</p>
<p>Thanks for watching and rating.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/css-selectors-2/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>CSS Selectors Part 1</title>
		<link>http://cssvideos.com/css-basics/css-selectors-1/</link>
		<comments>http://cssvideos.com/css-basics/css-selectors-1/#comments</comments>
		<pubDate>Fri, 22 May 2009 22:20:54 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Selectors]]></category>
		<category><![CDATA[Selector]]></category>
		<category><![CDATA[Syntax]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=48</guid>
		<description><![CDATA[Hi this is Ashton Sanders with CSS Videos.com and this CSS Video Tutorial is the first video about CSS Selectors. CSS Selectors add an incredible amount of flexibility and functionality to what you can style with Cascading Style Sheets. So far we have briefly defined what the CSS Selector does in the CSS Syntax video, [...]]]></description>
			<content:encoded><![CDATA[<p>Hi this is Ashton Sanders with CSS Videos.com and this CSS Video Tutorial is the first video about CSS Selectors.</p>
<p>CSS Selectors add an incredible amount of flexibility and functionality to what you can <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">style</span> with <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span>. So far we have briefly defined what the CSS <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span> does in the <a href="http://cssvideos.com/css-basics/css-syntax/">CSS Syntax video</a>, and that is:</p>
<ul>
<li><strong><span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span>:</strong> is the hook used to choose what part(s) of your <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> to apply the CSS to.</li>
</ul>
<p>I have a feeling that won&#8217;t even make sense to most beginners. If it does right now, excellent; if it doesn&#8217;t you&#8217;ll soon understand in these examples. In this video I&#8217;ll give you a better understanding of <strong>how the <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span> works and three types of hooks you can select with it. </strong>There are many different ways to &#8220;select&#8221; <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> elements, but I will try to cover the necessary basics.</p>
<p>I will note that CSS can be applied to many more languages other than just plain <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span>, but since it&#8217;s the most common, lets start with some example HTML:</p>
<blockquote><p>&lt;h1&gt;CSS Selectors&lt;/h1&gt;</p></blockquote>
<p>Here we have a simple &lt;h1&gt; tag around the text of &#8220;CSS Selectors.&#8221; Now we are going to write our CSS to select this &lt;h1&gt; tag and make it red:</p>
<blockquote><p>h1  { color: red; }</p></blockquote>
<p>That&#8217;s pretty simple and straightforward. The selector is the <em>h1</em> and it selects all <em>&lt;h1&gt;</em> tags in your HTML document to make it red.</p>
<p>But we have one little problem, and that is that <em>this CSS will make all &lt;h1&gt; tags red</em>. If you have two &lt;h1&gt; tags on your website and you want one to be red and another to be blue, there are a couple things you can do. (Boo yea, that rhymes.) We&#8217;re going to start with assigning <em>Classes</em> and <em>ID</em>s to the HTML &lt;h1&gt; tags.</p>
<h3>CSS Classes</h3>
<p><span id="more-48"></span><br />
Here is the HTML of adding a <em>class</em> of &#8220;hdr&#8221; to one &lt;h1&gt; tag:</p>
<blockquote><p>&lt;h1 class=&#8221;hdr&#8221;&gt;CSS Selectors&lt;/h1&gt;</p></blockquote>
<p>As you can see, the class is just a simple HTML attribute we added to the H1 tag. The same class attribute of &#8220;hdr&#8221; can be used as many times as you want on the same HTML page. For CSS Selectors we use a <em>period</em> (.) to represent a class.</p>
<blockquote><p>h1.hdr {color:red;}</p></blockquote>
<p>This code selects all &lt;h1&gt; tags with the <em>class=&#8221;hdr&#8221;</em> attribute and makes it red. You can also write the class without listing the HTML element like this:</p>
<blockquote><p>.hdr {color:red;}</p></blockquote>
<p>This would select all HTML elements with the <em>class=&#8221;hdr&#8221;</em> attribute and make it red. This is useful if you want to apply the same styles to different HTML tags. You just add the <em>class=&#8221;hdr&#8221;</em> attribute to the element and it will become red. It doesn&#8217;t matter if it&#8217;s a &lt;h1&gt; tag, &lt;p&gt; (paragraph) tag, or &lt;blockquote&gt;.</p>
<p>I will also mention that the HTML attribute of &#8220;class&#8221; allows multiple values separated by spaces. So you can have an &lt;h1&gt; tag with the class of &#8220;hdr&#8221; and &#8220;main&#8221; at the same time like this:</p>
<blockquote><p>&lt;h1 class=&#8221;hdr main&#8221;&gt;CSS Selectors&lt;/h1&gt;</p></blockquote>
<p>You can apply CSS to this element using either class. You can use any of these three lines to make the color of this &lt;h1&gt; tag red.</p>
<blockquote><p>.hdr {color:red;}<br />
.main {color:red;}<br />
h1.main {color:red;}</p></blockquote>
<p>That pretty much wraps up classes. Next on the list is CSS ID&#8217;s:</p>
<h3>CSS IDs</h3>
<p>Here is the HTML code for adding an <em>ID</em> of &#8220;mainhdr&#8221; to an &lt;h1&gt; tag:</p>
<blockquote><p>&lt;h1 id=&#8221;mainhdr&#8221;&gt;CSS Selectors&lt;/h1&gt;</p></blockquote>
<p>As you can see this is just like the class attribute. The difference between the class and the ID is that the ID is only supposed to be used once on an HTML page. In CSS we use a <em>hash mark </em>(#) to represent an ID.</p>
<blockquote><p>h1#mainhdr {color:red;}</p></blockquote>
<p>This would select the &lt;h1&gt; with the ID of <em>mainhdr</em> and make it red. Just like the class selector, you can write the ID selector without the HTML element like this:</p>
<blockquote><p>#mainhdr {color:red;}</p></blockquote>
<p>This code selects any HTML element with the ID of &#8220;mainhdr&#8221; and makes it red.</p>
<p><strong>Is that it?</strong> Heck no, but that&#8217;s all I can fit into this video. The next video will be <a title="CSS Selectors" href="/css-basics/css-selectors-2/">CSS Selectors Part 2</a> and will cover applying the same CSS to multiple elements and using the hierarchy of your HTML document to specify what elements are selected.</p>
<p>Thanks for watching the video I hope you enjoyed it.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/css-selectors-1/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>CSS Syntax</title>
		<link>http://cssvideos.com/css-basics/css-syntax/</link>
		<comments>http://cssvideos.com/css-basics/css-syntax/#comments</comments>
		<pubDate>Wed, 06 May 2009 15:15:14 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Syntax]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=42</guid>
		<description><![CDATA[Hi this is Ashton Sanders with CSS Videos.com, and we are going to be talking about CSS Syntax. My favorite thing about CSS is that it has a very simple syntax; making it super easy to learn. In Cascading Style Sheets, you are writing a series of rules to apply to your HTML document.  Every [...]]]></description>
			<content:encoded><![CDATA[<p>Hi this is Ashton Sanders with CSS Videos.com, and we are going to be talking about CSS Syntax.</p>
<p>My favorite thing about CSS is that it has a very simple syntax; making it super easy to learn.</p>
<p>In <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span>, you are writing a series of rules to apply to your <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> document.  Every rule has these things:</p>
<p>&nbsp;</p>
<p><img src="/images/videos/css-syntax-diagram.gif" alt="CSS Syntax" /></p>
<ul>
<li><strong><span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span>:</strong> is the hook used to choose what part(s) of your <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> to apply the CSS to. Following the <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">selector</span> is the&#8230;</li>
<li><strong><span class="domtooltips" title="All of the CSS code within the braces (curly brackets),  “{” and “}”, is called the declaration block"><span class="domtooltips" title="Each CSS declaration is a combination of a CSS Property and a value. (ie. "color:black;") Inside a declaration block you can have as many declarations as you want.">Declaration</span> Block</span>:</strong> Everything within the curly brackets,  &#8220;{&#8221; and &#8220;}&#8221;, is called the <span class="domtooltips" title="All of the CSS code within the braces (curly brackets),  “{” and “}”, is called the declaration block"><span class="domtooltips" title="Each CSS declaration is a combination of a CSS Property and a value. (ie. "color:black;") Inside a declaration block you can have as many declarations as you want.">declaration</span> block</span></li>
<li><strong><span class="domtooltips" title="Each CSS declaration is a combination of a CSS Property and a value. (ie. "color:black;") Inside a declaration block you can have as many declarations as you want.">Declaration</span>:</strong> Inside a <span class="domtooltips" title="All of the CSS code within the braces (curly brackets),  “{” and “}”, is called the declaration block">declaration block</span> you can have as many declarations as you want and each declaration is a combination of a <span class="domtooltips" title="CSS Properties define what aspect of the selector will be changed or styled. (ie. In this example, Color is the CSS Property that will be changed to black: "color:black;".)">CSS Property</span> and a value.</li>
<li><strong>Property:</strong> is one of the CSS Properties used to tell what part of the <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">selector</span> will be changed (or styled).</li>
<li><strong>Value:</strong> assigns a value to the property.</li>
</ul>
<p>(Note that the Property is always followed by a colon, and each declaration is separated with a semicolon</p>
<p>Here are some quick sample:</p>
<p>Let&#8217;s Say that title at the top of this video screen is an H1 element. The <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> code for that would look like this:</p>
<blockquote><p>&lt;h1&gt;CSS Syntax&lt;/h1&gt;</p></blockquote>
<p>Now lets use CSS to make it red.</p>
<blockquote><p>h1 { color: red }</p></blockquote>
<p>This bit of code tells the h1 to have the color of red. Boo yea, we got some red in there and we are good to go.</p>
<p>Let&#8217;s add another declaration to the declaration block to make the background color black:</p>
<blockquote><p>h1 { color: red; background: black; }</p></blockquote>
<p>You now know the basics of the CSS Syntax.</p>
<p>My next video will go into further detail about the <strong>CSS Selector</strong>, and some things you should know about it.</p>
<p>Thanks for Watching!</p>
<p>Ashton Sanders<br />
CSSVideos.com</p>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/css-syntax/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>What is Cascading Style Sheets?</title>
		<link>http://cssvideos.com/css-basics/what-is-cascading-style-sheets/</link>
		<comments>http://cssvideos.com/css-basics/what-is-cascading-style-sheets/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 06:46:28 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[What is CSS]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=28</guid>
		<description><![CDATA[*This has been recently Updated! Enjoy the new version and let me know what you think.* Welcome to CSS Videos.com. My name is Ashton Sanders and this is the first CSS video tutorial, so I will be answering a very important question: &#8220;What is Cascading Style Sheets?&#8221; But before we get to CSS, we must [...]]]></description>
			<content:encoded><![CDATA[<p>*This has been recently Updated! Enjoy the new version and let me know what you think.*</p>
<p>Welcome to CSS Videos.com. My name is Ashton Sanders and this is the first CSS video tutorial, so I will be answering a very important question: &#8220;What is  <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span>?&#8221;</p>
<p>But before we get to CSS, we must first quickly define <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> as CSS works with <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span> to make websites faster and easier to edit.</p>
<h3>What is <span class="domtooltips" title="HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that is used to create websites. For example, the HTML element &quot;&lt;p&gt;&quot; is used to create a paragraph on a web page.">HTML</span>?</h3>
<p>HTML (HyperText Markup Language) is the most basic programming language for websites. HTML consists of elements (or tags) that are used to create websites. For example, the HTML element &#8220;&lt;p&gt;&#8221; is used to create a paragraph on a web page.</p>
<blockquote><p>&lt;p&gt;Here&#8217;s an example paragraph in HTML code.&lt;/p&gt;</p></blockquote>
<p>Web pages are created with HTML elements and then CSS is used to <strong><span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">style</span> </strong>those HTML elements and define how they will look.</p>
<h3>What Does CSS Do?</h3>
<p>CSS allows you to <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">style</span> a lot of different aspects of HTML elements. You can use CSS to do things like:</p>
<ul>
<li>changing the font, size and alignment of text</li>
<li>adding a background color or background image</li>
<li>adding a border</li>
<li>create a drop down menu</li>
<li>define the width and height of an element</li>
<li>and much, much more&#8230;</li>
</ul>
<h3>How Do People Use CSS?</h3>
<p>As CSS is so versatile, people use it as much or as little as they want. Any part of a webpage that doesn&#8217;t get created with HTML can be done with CSS.</p>
<p>One recommended practice is to use HTML to:</p>
<ol>
<li>Define the different areas of your web page (ie. header, sidebar, content, footer) and</li>
<li>Fill it with content (text, images, etc.).</li>
</ol>
<p>Then you use CSS to:</p>
<ol>
<li>Format the size and placement of your web page areas</li>
<li>Style the content (color, size, bold, font, etc.) and</li>
<li>Add the design (look and feel) to the HTML.</li>
</ol>
<h3>Purpose of CSS?</h3>
<p>The purpose of CSS is to keep as much of your actual content (HTML) separated from your design styles (CSS). This allows you to make website-wide changes easily. For example, if you want to change the color of all the text on your website, you only need to change the color in your CSS file, and your entire website has been updated.</p>
<p><span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading Style Sheets</span> helps to keep your code clean, decreases your file size and gives you mountains of functionality.</p>
<p>I hope you enjoyed the CSS Tutorial. As I&#8217;m always looking to improve my videos, please leave a comment below with any suggestions or recommendations you may have to improve them.</p>
<p>Thank you very much for watching this CSS Video on &#8220;What is <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading Style Sheets</span>&#8221;.</p>
<p>Ashton Sanders<br />
CSSVideos.com</p>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/what-is-cascading-style-sheets/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>

