HTML 5 Style Sheets

HTML 5 Style Sheets

Style sheets can make HTML coding simpler and improve the performance of a web site. A style sheet can be applied to a web page by including a link tag with rel="stylesheet".

Various types of style sheets that can be used in HTML 5 documents. Two common ones are:

XSLT Style Sheets
XSLT style sheets can be used as a template for the "look and feel" of a web site. This provides a consistent look to all of the pages using the same template and makes it easy to change the way a site looks by simply changing the style sheet.
CSS Style Sheets
CSS style sheets can be used to separate the styles applied to various elements of web pages or templates from the layout of those elements or the content in general.

Different style sheets can applied to web pages based on the type of device, such as a monitor, cell phone or printer, that is being used to display the documents. They can be used regardless of whether the web pages are static or generated dynamically.

Next: XSLT Style Sheets 

Home > Style Sheets

Viewing mobile website page. Switch to WML or Full HTML