What is CSS?
0What is CSS?
CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets are stored in CSS files
What You Should Already Know
HTML / XHTML
Styles Solved a Big Problem
HTML was never intended to contain tags for formatting a document.
HTML was intended to define the content of a document, like:
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
When tags More >
HTML Elements
0HTML documents are defined by HTML elements.
HTML Element Syntax
An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag The element content is everything between the start and the end tag Some HTML elements have empty content Empty elements are closed in the start tag Most HTML elements can have attributes
HTML Document Example
<html>
<body> <p>This is my first paragraph.</p> </body>
</html>
HTML Example Explained
The <p> element:
<p>This is my More >
HTML Basic
0HTML Headings
<h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>
HTML Paragraphs
<p>This is a paragraph.</p> <p>This is another paragraph.</p>
HTML Links
<a href=”http://phreex.net”>This is a link</a>
HTML Images
<img src=”phreex.jpg” width=”236″ height=”198″ />
What is HTML?
0What is HTML?
HTML is a computer language devised to allow website creation. These websites can then be viewed by anyone else connected to the Internet. It is relatively easy to learn, with the basics being accessible to most people in one sitting; and quite powerful in what it allows you to create. It is constantly undergoing revision and evolution to meet the demands and requirements of the growing Internet audience under the direction of the » W3C, the organisation charged with designing and More >
