HOME

Cascading Style Sheet

Cascading Style Sheets, most of the time abbreviated as CSS, is a stylesheet language used to describe the presentation of a document written in HTML or XML (including various XML languages like SVG or XHTML. CSS describes how the structured element must be rendered on screen, on paper, in speech, or on other media.

CSS was introduced together with HTML 4, to provide a better way to style HTML elements.
CSS can be added to HTML in the following ways:

Inline- using the style attribute in HTML elements

Internal - using the <style> element in the <head> section

External - using an external CSS file

The preferred way to add CSS to HTML, is to put CSS syntax in separate CSS files.

However, in this HTML tutorial we will introduce you to CSS using the style attribute. This is done to simplify the examples. It also makes it easier for you to edit the code and try it yourself.

 

HTML
CSS
JAVA
 
 
 
 
 
 
 
 
 
 
 
 
 
Melba Pesigan
[email protected]