What is CSS?
Cascading Style Sheet (CSS) is a way to design a website or a group of websites to have a consistent appearance and feelings, and to change their appearance and feeling easily. Using CSS to design a website, the website developer will gain a greater degree of control over how the site appears. The first way is called inline, referring to the fact that the code is located directly in the website line. For example, a web developer might want a particular sentence to appear in a fat, red type to excel. It could use CSS to set the style of this sentence to bold and red using inline code. The advantage of this method is that it allows a quick and easy change to a specific part of the website.
Another way to use CSS developer is to create rules for one website. In this case, the developer would use the so -called CSS. The developer can do every new paragraph and every header in bold. Built -in instructions are usually placed at the top of the web codepages.
This allows developers to change the built -in code once and let the effects take place on the whole page. If he decided to place all the headers in the italic rather than the courageous text, he could simply change the encoding style and all the headers on this page would change. This has the advantage over the inline method in that it covers the entire website, and changes can be made throughout the page at the same time.
The final common type CSS is what is called external CSS. The web developer will write a code that will apply to the whole group of websites, the whole website or even more websites. These rules may include things such as background color, text color, word spacing, and other page layout elements, as well as the previous two examples.
The difference is that these instructions are not for one part of the page or just one website, but for the whole website. The advantage is that the appearance and feeling of cElé site can be changed at once by making changes in an external style sheet. If the designer wants to try a new background color or a new font for the whole site, it can do so with a change of several lines in an external code rather than go on each page individually and make changes.
The disadvantages for both built -in and external CSS are that more time to create a large style is involved, which will cover a large amount of layout, rather than to make less changes in each line. The web designer must decide whether to make individual inline instructions in the long run or to create an embedded or external CSS to take care of many design functions at the same time.