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. 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.
|
|
Melba Pesigan [email protected] |