answersLogoWhite

0

What are the functions of CSS?

Updated: 8/11/2023
User Avatar

Wiki User

11y ago

Best Answer

CSS is used to style HTML (and other markup languages) pages. The browser looks at the rules declared in CSS and applies those rules to the relevant HTML elements that it finds in the web page it is rendering. These rules can affect what font typeface is used, what size the font should be, the color of the font, background colors, the alignment of text, placement of images, text, and other items on the web page, and more.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

CSS or Cascading Style Sheets are a way to stylize HTML output in the web browser. They can be either part of your HTML file (inline) or linked to your HTML file (external).

Inline style sheets are contained within the HTML <style></style> tags but otherwise the syntax for CSS remains the same whether it is inline or external

A CSS style contains two basic parts, a selector and a set of rules

A selector can be either an HTML element (i.e. span), a class placed on an element ( .className), or an ID placed on an element ( #idName)

a set of rules can be anywhere from 1 rule to hundreds and they all follow the same format:

rule-name: value;

a complete css style would look like this

selector{

rule-name: value;

}

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

(C)ascading (S)tyle (S)eets are the proper way to style a web page. You can use HTML to add color, positioning, and other things but it is not standard and probably won't validate that way. HTML is intended to be used to display content only. CSS is then used to arrange the elements, apply colors, and even add animation (thanks to CSS 3).

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

CSS is used to design the look and feel of the web page. You can set the color, size, background, font etc using CSS

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Main feature is that CSS allows you to control the presentation of your entire web site with ONE CSS file.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

CSS is a simpler, easier to manage way of laying out a web-page. It also allows a whole page's layout to be changed in a few code tweaks instead of changing every HTML tag.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

The application of CSS as the name suggests is styling. It styles the page according to the user demands.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the functions of CSS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why are warning labels on Css?

Answer 1: You're question must not be related to Cascading Stle Sheets as I have never seen a warning label on a CSS file. :P Answer 2: Your browser does not support CSS, or supports only limited functions of CSS or you have it switched off in your browser. Rely: There probably isn't that many browsers being used today that do not support CSS. Only some parts of the CSS is not supported in IE 6/7. Rest are either compliant or non-compliant:


What is valid css?

Valid CSS is CSS that has been run through the W3C CSS checker and passed.


What are the strict rules of html5?

CSS


What is latest version of css?

The latest version of css is css3


What is a custom CSS?

All CSS is custom, that is the purpose behind CSS. It allows you to control the presentation of your web pages and separate the rules that govern presentation from the content and markup. You control what rules you develop and set the rules for. CSS stands for cascading style sheets.

Related questions

Why are warning labels on Css?

Answer 1: You're question must not be related to Cascading Stle Sheets as I have never seen a warning label on a CSS file. :P Answer 2: Your browser does not support CSS, or supports only limited functions of CSS or you have it switched off in your browser. Rely: There probably isn't that many browsers being used today that do not support CSS. Only some parts of the CSS is not supported in IE 6/7. Rest are either compliant or non-compliant:


What is css and deffrent type of css?

css


What is valid css?

Valid CSS is CSS that has been run through the W3C CSS checker and passed.


How do you make CSS layouts?

CSS layouts can be created in an external CSS file. The extension of the file should be CSS only.


Why is the CSS not working?

if you neglected to save your css file in a .css format, then it may not work.


What is CSS when referred to in the U.S. military?

CSS refers to Confederate States Ship as in the name CSS Shenadoah.CSS refers to Confederate States Ship as in the name CSS Shenadoah. In computer terms CSS is a Cascading Style Sheet.


What are the strict rules of html5?

CSS


How do you make div by using css?

You can make CSS inside a div but not div in CSS. CSS inside div could be done by : &lt;do=iv style=""&gt;.


Difference between inline and internal css?

Inline CSS sits within the HTML tag.For example: your text hereWhen using Internal CSS, all the CSS instructions sit in the section between your css here tags.To use Internal CSS you have to tell the page that you want it to use the css whilst Inline CSS is run automatically as the page is read.


How do you download css 1.5?

Because there is no CSS 1.5 and CSS is not down loadable. CSS2.1 and partly supported CSS 3.0 are what you need to learn. Any downloads would be a tutorial of CSS in a PDF/ZIP or some format. See... CSS Tutorials might help you.


What is the use of in css?

Inline CSS is one of the ways to apply CSS. It is the styling which is done with the individual element.


How do advanced css layout work?

There is no such physical thing as "Advanced" CSS, nor advanced css layouts. CSS can get difficult, and certain areas can be deemed for the "Advanced" coders, but all-in-all, there is no such thing as an Advanced CSS Layout.