answersLogoWhite

0

Difference between HTML and cascading style sheet?

Updated: 8/16/2019
User Avatar

Wiki User

15y ago

Best Answer

HTML tells the browser what to display. CSS (Cascading Style Sheets) tell the browser how to display it.

HTML, an acronym for HyperText Markup Language, is the predominant markup language for web pages. It provides a means to describe the structure of text-based information in a document-by denoting certain text as links, headings, paragraphs, lists, etc.-and to supplement that text with interactive forms, embedded images, and other objects. HTML is written in the form of "tags" that are surrounded by angle brackets. HTML can also describe, to some degree, the appearance and semantics of a document, and can include embedded scripting language code (such as JavaScript) that can affect the behavior of Web Browsers and other HTML processors.

Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation (that is, the look and formatting) 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 is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the colors, fonts, and layout. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, 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. While the author of a document typically links that document to a CSS stylesheet, readers can use a different stylesheet, perhaps one on their own computer, to override the one the author has specified.

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.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between HTML and cascading style sheet?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What type of style sheet uses the style tag?

CSS (Cascading style sheet)


What is the fullform of CSS?

cascading style sheet


What dpes CSS stamd for?

Cascading Style Sheet


What is cascading style script?

CSS (Cascading Style Sheet) is a proramming language that is used with HTML to create the layout of a page.


What is the use of cascading style sheet in web development?

Cascading Style Sheet is a way of styling your document. It is a set of commands which make a page much more interactive.


What is the meaning of cascading?

The cascading that is referred to in the name cascading style sheets refers to how rules can cascade in how they are implement. CSS rules can be found in three places: an external style sheet, and internal style sheet, or inline. Cascading refers to precedence. A rule located inline, will take precedence over a rule located in an internal style sheet and a rule located in an internal style sheet will take precedence over a rule located in an external style sheet. Within a single style sheet (for example an external style sheet) a rule located at the bottom of the style sheet takes precedence over a rule located at the top of the style sheet. This allows you fine tuned control over your styles and how and when they display and which one will display based upon where in the cascading hierarchy they appear.


What does the css stand for in photoshop css?

Cascading Style Sheet


What does the acronym CSS mean?

(if you mean the style sheet language) Cascading Style Sheets


What contains the formats for how a particular object should display in a Web browser?

cascading style sheet (CSS)


What doas css mean?

CSS stands for Cascading Style Sheet, which makes websites beautiful, simply saying.


how many foundation tags are there in HTML?

Foundation is a kind of Cascading Style Sheet. It is also called as Zurb Foundation.


Difference between embedded style sheet and linked style sheet?

An embedded style sheet is CSS code included within the HTML document using the tag, affecting only that specific document. A linked style sheet is a separate CSS file linked to the HTML document using the tag, allowing the same stylesheet to be used across multiple HTML documents.