CSS stands for Cascading Style Sheets and is the standard visual presentation of web pages. Once these style sheets have been produced they can be applied to the documents. CSS enables you to define how each marked-up element of your content is presented on the page i.e. is the paragraph's font Times or Helvetica?, bold or italics? any indents or margin's? CSS also controls the formatting and positioning on each of the elements.
An example I have learnt of how to format the size of the text in a paragraph would be..
p {font-size;12x;} this can be broken down as the text being 12 pixels high.
CSS has provided many developments for web design and has been key to allowing content to be displayed on multiple devices and also being durable for the future. Some other benefits of using standards-based coding are:
1. Improves Performance- pages are a lot smaller in size and therefore download faster.
2. Separate Content and Presentation- you can modify or change either the content or the presentation of your site without affecting the other.
3. Distribute content more easily- distributing content is much easier because the content is separate from any specific presentation rules.
4. Less work- you can write less code therefore it's quicker and easier to get the results you want.
No comments:
Post a Comment