answersLogoWhite

0


Best Answer

You use the LINK tag.

You use the LINK tag.

You use the LINK tag.

You use the LINK tag.

You use the LINK tag.

You use the LINK tag.

You use the LINK tag.

You use the LINK tag.

You use the LINK tag.

You use the LINK tag.

You use the LINK tag.

User Avatar

Wiki User

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

Wiki User

12y ago

Just type the code shown below in your HTML page inside tag:

Just replace "style.css" with your existing css filename.

For eg:- if your style sheet's name is mystyle.css then the code will be >>

If your style sheet is located somewhere else then:

For eg:- if your style sheet is inside a folder called "css" then the code will be >>

You have to put the correct path to make it work so wherever is your style sheet is located you will have to give it the correct path

for eg:-

if your style sheet is located in folders such as >> css/default/global/mystyle.css

then the path will be like this >>

or it might be

(The path is Depended on the location of your css file)

This answer is:
User Avatar

User Avatar

Wiki User

8y ago

Go to http://www.pageresource.com/dhtml/csstut5.htm

it helped me, you.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

You use the LINK tag.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you refer to an external style sheet on HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What extension saves an external style sheet?

When you create an external style sheet for your Web pages, you should name the file following similar naming conventions for your HTML files. When you save it, you use the file extension .css so the browser will recognize that it is a CSS stylesheet.


How do you specify global styles for HTML tags?

You need to use style sheets. You can define a style in an external style sheet and link it to the documents you need. A change in the style sheet will affect all documents it is linked to. Here is an example of a simple style sheet: body { background-color: #d0e4fe; } h1 { color: orange; text-align: center; } p { font-family: "Times New Roman"; font-size: 20px; }


What information is stored in external style sheet?

A CSS (Cascading Style Sheet) contains information about page formatting. It can include data related to every HTML element. For example, it can define the font face, size, and color of the <h1> tag.


Compare two methods of accessing external CSS script?

Let following be HTML page: <HTML> <head> <link href='external_style.css' type='text/css' rel='stylesheet'> </head> <body> <p>Hello world</p> </body> </HTML> and following be external css script: p {text-decoration:underline} Here is HTML document, in the head section tag <link> is used. Tag link is used to get reference of external style sheet page named "external_style.css" using href property. Both css page and HTML page resides in same directory. the external css page cannot contain any tags like:<HTML> or <style> it can contain only style specification like: p {font-size : 8pt} H1 {text-decoration:underline} etc


What are the three methods for using style sheets with a webpage?

Not sure what is asked, so two answers in one! It can be inline(with the tag,) embedded(in the head) or external(linked in the head.) The other answer deals with external and the declaration of "media" within the link in the Head tag. More than three choices, but relevance and browser support narrow them down since it is up to the browser maker to decide how it is rendered - generally "screen, print and accessiblity(auditory, etc.)

Related questions

How are the conflicting style rules resolved for the same element in HTML?

The conflicting style rules are resolved by introducing internal and external CSS. It defined a common cascading style sheet for all.


What extension saves an external style sheet?

When you create an external style sheet for your Web pages, you should name the file following similar naming conventions for your HTML files. When you save it, you use the file extension .css so the browser will recognize that it is a CSS stylesheet.


What are cascading sheetswhat are the 3 ways using them in designing web pagesexplain with an example?

Three Ways to Insert CSSThere are three ways of inserting a style sheet: External style sheetInternal style sheetInline style An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the tag. The tag goes inside the head section: An external style sheet can be written in any text editor. The file should not contain any HTML tags. Your style sheet should be saved with a .css extension. An example of a style sheet file is shown below: hr {color:sienna;}p {margin-left:20px;}body {background-image:URL("images/back40.gif");}


How do you specify global styles for HTML tags?

You need to use style sheets. You can define a style in an external style sheet and link it to the documents you need. A change in the style sheet will affect all documents it is linked to. Here is an example of a simple style sheet: body { background-color: #d0e4fe; } h1 { color: orange; text-align: center; } p { font-family: "Times New Roman"; font-size: 20px; }


What information is stored in external style sheet?

A CSS (Cascading Style Sheet) contains information about page formatting. It can include data related to every HTML element. For example, it can define the font face, size, and color of the <h1> tag.


Explain the procedure of linking a style sheet in HTML document?

To link a style sheet into an HTML document, you will use the <link> tag. This tag links, or embeds, the style sheet into the document. This would look like: <link rel="stylesheet" href="style.css" type="text/css" /> This allows you to use the same style sheet and rules on multiple HTML documents.


Compare two methods of accessing external CSS script?

Let following be HTML page: <HTML> <head> <link href='external_style.css' type='text/css' rel='stylesheet'> </head> <body> <p>Hello world</p> </body> </HTML> and following be external css script: p {text-decoration:underline} Here is HTML document, in the head section tag <link> is used. Tag link is used to get reference of external style sheet page named "external_style.css" using href property. Both css page and HTML page resides in same directory. the external css page cannot contain any tags like:<HTML> or <style> it can contain only style specification like: p {font-size : 8pt} H1 {text-decoration:underline} etc


What is cascading order in HTML?

The cascading order of CSS used to display HTML is as follows:Browser defaultExternal style sheetInternal style sheetInline style.What this means is that an inline style rule will override an internal style sheet rule, an internal style sheet rule will override an external style sheet rule, and an external style sheet rule will over ride a browser default.It is also important to understand that for a given design element there is a priority level. This looks like:element.class#idLet's say we have a element, a class="content" element, and an id="first-paragraph" element. What this means is that if you have a tag that looks like then the rules for the id override the rules for the class and the rules for the class override the rules for the element.


What is CSS in Dreamweaver?

CSS (Cascading Style Sheet) is an alternative way to style a web page. Using CSS makes the page load faster because the CSS code is in an external file not in the actual HTML document.


How many aways you can associate style sheet with HTML describe with example?

you can do this that and the other


Why would you link a style sheet?

This separates the content (HTML) from the formatting, or presentation (CSS).


Where you have to save the css file?

You have to provide a valid path in your HTML file so it can "see" the style sheet. If you have a simple site, put your style sheet(s) (e.g. "styles.css") into the same directory as your HTML files and refer to them like this: <link rel="stylesheet" href="styles.css" type="text/css" /> however, you can put your style sheets wherever you please, as long as you refer to them correctly. They might even be in other domains. For simple projects, keep everything in one place, so you can avoid headaches when moving your projects around.