- basic tags
What is CSS?
- CSS stands for Cascading Style Sheets
- Styles define how to display HTML elements
- Styles are normally stored in inline style tags, embedded styles or external style sheets
- Styles were added to HTML 4.0 to solve layout problems caused by tables
- External Style Sheets can save you a lot of work
- External Style Sheets are stored in CSS files
- Multiple style definitions will cascade into one
Styles sheets define HOW HTML elements are to be displayed, just like the font tag and the color attribute in HTML 3.2. Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in your Web, just by editing one single CSS document!
CSS is a breakthrough in Web design because it allows developers to control the style and layout of multiple Web pages all at once. As a Web developer you can define a style for each HTML element and apply it to as many Web pages as you want. To make a global change, simply change the style, and all elements in the Web are updated automatically.
What is an HTML File?
- HTML stands for Hyper Text Markup Language
- An HTML file is a text file containing data surrounded by small markup tags
- The markup tags tell the device viewing it how to display the page
- An HTML file must have an .htm or .html file extension. However, .html is the officially accepted standard.
- An HTML file can be created using a simple text editor
- XHTML stands for EXtensible HyperText Markup Language
- XHTML was begun in 2003 to replace HTML
- XHTML is almost identical to HTML 4.01
- XHTML is a stricter and cleaner version of HTML
- XHTML is HTML defined as an XML application or extension
- Oh yeah: XHTML is dead! The W3Consortium has stopped work on it altogether in favor of HTML5.
[XML (Extensible Markup Language) is a markup language where everything has to be marked up correctly, which results in "well-formed" documents. XML was designed to describe data and HTML was designed to display data. Therefore - by combining HTML and XML, and their strengths, we got a markup language that is useful now and in the future - XHTML. All new browsers have support for XHTML, but newer browsers are moving to support HTML5. HTML5 renders well on Safari 5, Chrome 5, Opera 10 and Firefox 9.
- The most popular scripting language for the web
- Scripting makes web pages dynamic