CSS SELECTORS

Selectors are one of the most important aspects of CSS as they are used to select elements on a web page so that they can be styled. You can define selectors in various ways. Universal Selector The universal selector, written as * i.e. asterisk or star symbol, matches every single element on the page. The universal selector

Categories: CSS

CSS COMMENTS

Comments are usually added with the purpose of making the source code easier to understand. It may help other developer (or you in the future when you edit the source code) to understand what you were trying to do with the CSS. Comments are significant to programmers but typically ignored by browsers. A CSS comment

Categories: CSS

CSS SYNTAX

CSS rules have two main parts, a selector and one or more declarations Selectors are used to declare which of the markup elements a style applies to. The declarations that appear in the block that follows the selector may be applied to all elements of a specific type, or only those elements that match a

Categories: CSS

INCLUDING CSS IN HTML DOCUMENTS

You can include CSS in an HTML document in three ways: Inline styles — Using the style attribute in the HTML start tag. Embedded styles — Using the <style> element in the head section of a document. External style sheets — Using the <link> element, pointing to an external CSS file. In this tutorial we will cover all these three methods for inserting CSS

Categories: CSS

CSS Tutorial

CSS stands for Cascading Style Sheets. CSS is a standard style sheet language used for describing the presentation (i.e. the layout and formatting) of the web pages. Prior to CSS, nearly all of the presentational attributes of HTML documents were contained within the HTML markup (specifically inside the HTML tags); all the font colors, background

Categories: CSS