Question:
What is CSS???????????????
anonymous
2008-11-24 22:00:54 UTC
What is CSS???? What is the Similarity between CSS & HTML???????? How it Works??? Is CSS loading page faster then HTML loading page???
Thirteen answers:
?
2008-11-24 22:13:18 UTC
CSS (Cascading Style Sheet) is the one which will be useful in applying styles in a web page which is designed in HTML.



For example, if you want to display some text in your web page in bold, red colour in different parts of your page, you can define one style in CSS and then use that style in your HTML.



All the HTML elements will have an attribute called "class" which will be the name of style you define in your CSS.



When an HTML page is loaded, and if any HTML element contains that attribute "class", it will check in CSS and applies the style for that element.



CSS can be defined in a separate file and can be linked in different pages or it can be specific to a page which can be defined in "style" tag.



For example,





In this, "mystyle" is a new style defined by you.



You can use this like Some Text



You can also define it in a separate file "styles.css".



In that case no need to use style tag. Just write that style like



.mystyle{

font-size:9px;

}



and then link it with your HTML using "link" tag like this







This "link" tag will be inside "head" tag.



Normally for speedy connections it won't make much difference whether you have CSS or not. But in slower connections, a normal HTML page will load faster than a HTML page containing CSS.
Mayank Modi
2014-08-06 10:50:40 UTC
CSS stands for Cascading Style Sheets. CSS is the technical specifications to define the layout for the HTML web pages.



A style sheet for a Web page also telling the viewing engine(the Web browsers) how to render the document being viewed.
anonymous
2008-11-24 22:02:57 UTC
Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL.



CSS allows you to customize your site saving you time and effort. =]



HTML+CSS = Great website.
anonymous
2014-07-04 09:44:20 UTC
CSS (aka Cascading Style Sheets) is a programming language used to decorate or style the html page.

Let's say you have a table, and want its background to be red, in the html code you write







Have you seen these fashionable beautiful sites? The magic of CSS.
Arif
2014-06-06 09:07:39 UTC
HTML like as building

and

CSS like as building out looking
mithi
2008-11-24 22:09:55 UTC
Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL.



CSS can be used locally by the readers of web pages to define colors, fonts, layout, and other aspects of document presentation. It is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation (written in CSS). This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design). CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.



The CSS specifications are maintained by the World Wide Web Consortium (W3C). Internet media type (MIME type) text/css is registered for use with CSS by RFC 2318 (March 1998).
dream
2013-10-21 02:38:57 UTC
CSS stands for Cascading Style Sheet used for giving attractiveness to the webpages...........
anonymous
2008-11-24 22:05:16 UTC
CSS is an acronym for "Cascading Style Sheets." It's a markup language used to define visual layout of the web page. Modern HTML (XHTML) is used to define content of the page, not layout and design. Together CSS + HTML form a web page.
anonymous
2008-11-24 22:04:44 UTC
It is a styling language that works with the HTML. It does not replace HTML. CSS (Cascading Style Sheets)
Khan Girl
2008-11-24 22:07:23 UTC
Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL.



CSS can be used locally by the readers of web pages to define colors, fonts, layout, and other aspects of document presentation. It is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation (written in CSS). This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design).

CSS has a simple syntax, and uses a number of English keywords to specify the names of various style properties.

Prior to CSS, nearly all of the presentational attributes of HTML documents were contained within the HTML markup; all font colors, background styles, element alignments, borders and sizes had to be explicitly described, often repeatedly, within the HTML. CSS allows authors to move much of that information to a separate stylesheet resulting in considerably simpler HTML markup.

Limitations of CSS are:

Inconsistent browser support

One block declaration cannot explicitly inherit from another

Absence of expressions

Lack of multiple backgrounds per element

Lack of Variables

your can learn more from here:

http://htmldog.com/
anonymous
2014-07-19 05:11:44 UTC
CSS (Cascading Style Sheet) is the one which will be useful in applying styles in a web page which is designed in HTML.



For example, if you want to display some text in your web page in bold, red colour in different parts of your page, you can define one style in CSS and then use that style in your HTML.



All the HTML elements will have an attribute called "class" which will be the name of style you define in your CSS.



When an HTML page is loaded, and if any HTML element contains that attribute "class", it will check in CSS and applies the style for that element.



CSS can be defined in a separate file and can be linked in different pages or it can be specific to a page which can be defined in "style" tag.



For example,





In this, "mystyle" is a new style defined by you.



You can use this like Some Text



You can also define it in a separate file "styles.css".



In that case no need to use style tag. Just write that style like



.mystyle{

font-size:9px;

}



and then link it with your HTML using "link" tag like this







This "link" tag will be inside "head" tag.

http://technologylife24tutorial.blogspot.com/
b-i-n-g-o
2008-11-24 22:50:29 UTC
http://www.w3.org/Style/CSS/
Ashish M
2008-11-25 01:21:42 UTC
CSSis a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents. Tutorials, books, mailing lists for users, etc.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...