From CSS3, some selectors are known as combinators. CSS3 introduces one new combinator and has taken the remaining combinators from the CSS2 where it were known as selectors. Continue reading CSS Combinators
From the previous lessons, you learnt that a style rule is applied to an HTML element. But, there have situations when multiple rules are defined for a single element. In this case cascading happens. It is the word that is the elaboration form of the letter C in CSS. Continue reading CSS Cascade
We human being gets many characteristics like skin color, hair color, height etc. from our parents and ancestor. Similarly, when you apply CSS styles in an HTML element, the other elements inside it get those styles automatically.
What is a selector?
In the lesson CSS Syntax, you’ve learnt that in every CSS rule, a selector selects HTML element(s) and then, the declaration applies formatting on those selected HTML elements. In this lesson, you’ll learn detail about the selectors and how to use these. Continue reading CSS Selectors
An iframe (short for inline frame) is a small frame/window inside a webpage that displays a webpage of your site or from another website. You can consider an iframe a browser inside another browser. The content inside the iframe and the webpage that contains the iframe are not affected by each other. Changing anything on each window don’t affect the other. Continue reading HTML Iframes
When you’ve completed coding an HTML web site, you’ll find the style sheet(s) has hundreds of lines, even not thousands. At that moment, you know which style rule does what; but, after few months you won’t remember. So, you need any kind of indications which will help you remind later about the functionalities of the style rules. Well, comments serve exactly that purpose and it works as a note for your codes. You can write comments inside your style sheet. Continue reading CSS Comments
In the previous lesson (CSS Syntax), you’ve learnt how to write basic CSS style rules. But, you’ve not seen the effect of those styles on the webpage. This is because the CSS was not added to the HTML. In this lesson, you’ll learn how to add CSS styles to the HTML. Continue reading Adding CSS to HTML
You already know that a CSS style sheet is a collection of styles or style rules. Each rule defines how one or more HTML elements should be displayed. In this lesson you’ll see how to write a CSS style rule (or, CSS syntax). Continue reading CSS Syntax
HTML had been using by the web developers before CSS came out.
In those early days before CSS was introduced, web sites were very simple and dry visually. So, the demand for more stylish webpage was rising and browser manufacturers started adding and developing style tags to HTML such as <center>, <font> etc .
Welcome to the first lesson of “CSS for Beginners” course. In this lesson you’ll learn basic information about CSS.
In the process of creating a professional looking webpage, you need two things –structuring the webpage and then styling that webpage structure. HTML does the earlier one and CSS the later. Continue reading CSS Introduction