WEEK 4 Flashcards
It is a simple design language
intended to simplify the process of making web pages presentable. It handles the
look and feel part of a web page. Using this, you can control the color of the text,
the style of fonts, the spacing between paragraphs, how columns are sized and laid
Cascading Style Sheets (CSS)
Most commonly, CSS is combined with the
markup languages ___
HTML or XHTM
You can write CSS once and then reuse the same sheet in multiple HTML pages. You can define a style for each HTML element and apply it to
as many web pages as you want.
CSS saves time
If you are using CSS, you do not need to write HTML tag attributes every time. Just write one CSS rule of a tag and apply it to all the
occurrences of that tag. So, less code means faster download times.
Pages load faster
To make a global change, simply change the style, and all the elements in all the web pages will be updated automatically.
Easy maintenance
CSS has a much wider array of attributes than
HTML, so you can give a far better look to your HTML page in comparison to HTML
attributes.
Superior styles to HTML
Style sheets allow content to be optimized
for more than one type of device. By using the same HTML document, different versions of a website can be presented for handheld devices such as PDAs and cellphones or for printing.
Multiple Device Compatibility
Now HTML attributes are being deprecated and it is being recommended to use CSS. So IT’S A GOOD IDEA TO START USING CSS IN ALL THE HTML PAGES TO MAKE THEM COMPATIBLE WITH FUTURE BROWSERS.
Global web standards
CSS is created and maintained through a group of people within the ___
called the ___.
W3C, CSS Working Group.
The CSS Working Group creates documents called
___. When a specification has been discussed and officially ratified by the
W3C members, it becomes a ___.
Specifications, Recommendation
These ratified specifications are called ___ because the W3C has no control over the actual implementation of the language. Independent
companies and organizations create that software.
recommendations
The ___ or W3C is a group that makes recommendations about how the Internet works and how it should evolve.
World Wide Web Consortium
What are the advantages of CSS?
- CSS saves time
- Pages load faster
- Easy maintenance
- Superior styles to HTML
- Multiple device compatibility
- Global web standards
A CSS comprises of ___ that are interpreted by the browser and then applied to the corresponding elements in your document.
Style rules
A ___ is an HTML tag at which a style will be applied. This could be any tag like <h1> or <table> etc.
Selector