answersLogoWhite

0


Best Answer

<link href="basic.css" type="text/css" rel="stylesheet" media="screen"/>

<link href="print.css" type="text/css" rel="stylesheet" media="print"/>

User Avatar

Wiki User

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

Wiki User

9y ago

For an external stylesheet, we must know it's path. We can write like <link rel="stylesheet" src="source"></link>.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the correct xhtml for referring to an external style sheet?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the document containing style information for linked style is called?

An external style sheet.


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");}


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.


In which element do you set the MIME type of the external style sheet?

&lt;link&gt;&lt;/link&gt;


How would you apply a CSS style from an external style sheet to a p tag with the name photobox?

It sounds like you want: External Style = P.photobox { } &lt;p class="photobox"&gt;Blah Blah Blah&lt;/p&gt;


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 is the file name extentesion of an externel style sheet?

An external style sheet written to the Cascading Style Sheet standards will have a .css file extension. If you are using notepad you will have to manually set this as the file extension. Most web editors will allow you to select this extension when you go to save the file.


What is the difference between internal and external style sheets?

Internal style sheets are defined within the HTML document using the tag, while external style sheets are stored in separate CSS files and linked to the HTML document using the tag. External style sheets allow for better organization and easier updating of styles across multiple web pages.


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 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 &lt;h1&gt; tag.


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 type of style sheet uses the style tag?

CSS (Cascading style sheet)