Blog Archives

How to apply CSS background styles in HTML

To make your web page look better than before apply the following CSS properties to sytle your code: background-color background-image background-repeat background-position BACKGROUND COLOR The background-color property specifies the background color to your page. EXAMPLE: BACKGROUND IMAGE The background-image property

Posted in CSS Tagged with:

How to use CSS inline and internal style sheet

CSS has 3 types of style sheets Inline Stylesheet Internal Stylesheet External Stylesheet INLINE STYLESHEET Inline CSS has the highest priority out of external, internal, and inline CSS. This means that you can override styles that are defined in external

Posted in CSS Tagged with: ,

CSS External style sheet

EXTERNAL STYLE SHEET When using CSS it is preferable to keep the CSS separate from your HTML. Placing CSS in a separate file allows the web designer to completely differentiate between content (HTML) and design (CSS). External CSS is a

Posted in CSS Tagged with:

Difference between CSS id and class

In addition to setting a style for a HTML element, CSS allows you to specify your own selectors called “id” and “class”. CSS ID SELECTOR Id Selector is used to specify the style for a single or unique element. CSS

Posted in CSS Tagged with:

How to use CSS selectors

CSS selectors are the heart and soul of CSS. They define which HTML elements you are going to be manipulating with CSS code. The CSS syntax consists of a set of rules. These rules have 3 parts: a selector, a

Posted in CSS Tagged with:

Introduction to CSS

It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). It is a way to control the look and feel of your web page in an organized and efficient manner. With CSS

Posted in CSS Tagged with: ,