SWC - Applying Style Sheets Lesson
Applying Style Sheets Lesson
Style Sheets
A style sheet is a set of declarations describing the layout and appearance of a document. Styles can be applied to websites with inline styles, an internal (also referred to as embedded) style sheet, and an external style sheet. Access the Applying Style Sheets presentation to learn more about each style.
Style Comments
Comments can be included on style sheets to interpret style sheet code. This practice is helpful for answering questions that might arise from members on the web design team. The syntax for adding a comment is:
/* comment */
Text denoting your comment would appear where the word "comment" is noted. CSS ignores the presence of whitespace so comments can be added to several lines in order to make the document easy to read. Style comments can also be added to internal (embedded) style sheets as long as they are placed between the opening and closing <style> tags.
Alternate Style Sheets
Several browsers will permit web pages to support alternative style sheets. These sheets are helpful for users who have special needs and may need to view the content in a larger size setting.
For a tutorial on how to apply CSS, click here. Links to an external site.
IMAGES CREATED BY GAVS