Breaking News

CSS

What is CSS?

Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language such as HTML, XML, XHTML ect . Its most common application is to style …

Read More »

Difference between CSS and HTML

HTML is used to structure content. CSS is used for formatting structured content.   Okay, it sounds a bit technical and confusing. But please continue reading. It will all make sense to you soon.   …

Read More »

What are the Basic CSS Syntax?

The basic CSS syntax is made up of following 3 parts: selector {property: value} The selector is typically an HTML tag or element such as <p>, <table>, <h1>,<div> etc . The following is a CSS …

Read More »

What is CSS Comments?

We can insert comments in our CSS much like we can with HTML code. And just as in HTML, the comment will be ignored by the web browser. A CSS comment begins with “/*”, and …

Read More »

Background Colors And Images In CSS

The background color property allows you to set the background color of an HTML element. The following CSS code example shows how to set the background property of a paragraph in aninternal style sheet. <html> …

Read More »

What is Cascading In CSS?

Cascading is like a waterfall. You start at the top. As you go down, there are different levels. There are 3 “levels” of CSS commands: On the same page within an HTML tag as a …

Read More »

What is CSS Text in CSS?

Key issue for any web designers are: formatting and adding style to text . Now you will be introduced to the amazing opportunities CSS gives you to add layout to text. The following properties will …

Read More »

CSS Font

CSS saves time and makes your life easier. One of the major advantages of using CSS to specify fonts is that at any given time, you can change font on an entire website in just …

Read More »

CSS Links

With CSS you can add effects to hyperlinks. If you do not use CSS, the only alternative way to add effects to hyperlinks would be to use JavaScript. A hyperlink has four states that it …

Read More »

CSS Padding

Padding can also be understood as “filling”. It’s like internal spacing. This makes sense as padding does not affect the distance of the element to other elements but only defines the inner distance between the …

Read More »

Margins

The CSS margin properties define the space around elements. It’s opposite to padding. Negative values can also be used to overlap content. A shorthand margin property can be used to change all of the margins …

Read More »

Line Spacing

CSS allows you to control the widthand height of an element, as well as increase the space between two lines, with the use of dimension properties.   The following CSS code example shows how to …

Read More »

CSS Positioning

The CSS positioning properties allow you to specify the position of an element (element’s left, right, top, and bottom position). It also allows you to set the shape of an element, place an element behind …

Read More »

CSS Layers

CSS allows you to position HTML elements on top of one another, giving control over which item will appear on top.CSS layers are more flexible and more convenient than other layout management schemas. Layers can …

Read More »

Border Color

The CSS border properties allow us to specify the style and color of an element’s border.With CSS we can create styled border. In HTML we use tables to create borders around a text, but with …

Read More »