answersLogoWhite

0

Usually placed in the <head> area at the top of the webpage document, the CSS style sheet looks like this:

<style type="text/css" />

tag/class/id { property: value; property:value; }

</style>

The "tag" is what describes/gives properties to HTML tags, such as: <b>This text would be boldface.</b>

The "class" is what describes/gives properties to HTML tags if you include this into the tag, such as: <div class="main">This text would have any properties/values described in the class up in the CSS.</div> Also: in the CSS, the class is always behind a period.

The "id" is similar to the "class," but id's give them a name, or identification. They can be used to move to a certain spot on a webpage, like this:

<a href="#id1">Click to go to ID #1</a>

<a name="id1">The link above would take you to this text.</a>

Also: in the CSS and the "a href" url, the id is always behind a pound symbol (#).

If this doesn't answer your questions, visit www.w3schools.com - it's a very helpful website.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

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 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 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 control does cascading style sheet establish?

CSS can make your site look a lot better. It greatly controls the view of your site.


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.