Jump to content

Cascading Style Sheets: Difference between revisions

From Simple English Wikipedia, the free encyclopedia
Content deleted Content added
Addbot (talk | changes)
m Bot: 64 interwiki links moved, now provided by Wikidata on d:q46441
→‎Other websites: "Instant CSS Code" now only points to a ad-filled domain parking page.
Line 19: Line 19:
* [http://css3.info Website about CSS3]
* [http://css3.info Website about CSS3]
* [http://www.yourhtmlsource.com/stylesheets/ HTML Source: Beginner's CSS Tutorials] - a site of tutorials aimed at web design beginners.
* [http://www.yourhtmlsource.com/stylesheets/ HTML Source: Beginner's CSS Tutorials] - a site of tutorials aimed at web design beginners.
* [http://instantcsscode.com/ Instant CSS Code]


{{Tech-stub}}
{{Tech-stub}}

Revision as of 11:44, 25 March 2013

Cascading Style Sheets, or CSS, are a way to change the look of HTML and XHTML web pages. CSS was designed by the W3C, and is supported well by most modern web browsers. The current version of CSS is CSS 2. CSS version 3 is currently being worked on. It will introduce new properties like border-radius.

One advantage to using CSS is a web page can still be displayed and understood, even if the CSS is not working or removed.

CSS code is saved in files with the .css file extension.

Example CSS

To make all paragraphs on a page blue and sized 20% bigger than normal text, we would apply this CSS rule to a page:

p {
  color: blue;
  font-size: 120%;
}

Other websites