answersLogoWhite

0


Best Answer

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

The link tag refers to an external stylesheet while the style tag is used if your CSS is inside the HTML document under the <head>.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C why would you want to use the link tag instead of the style tag to define a style sheet?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which HTML attribute is used to define an inline styles?

&lt;style type="text/css"&gt;&lt;/style&gt;


What is the function of xml-style sheet href?

That would refer to the location of the style sheet for your XML document


What is the HTML tag used to define an internal style sheet?

If you are looking to use an internal style sheet, you are going to need to use the &lt;style&gt; tag. This tag has both an opening and a closing tag and in between the two tags is where you list all of the CSS rules and declarations that you are wanting to include. Internal style sheets are used when the rules you are creating are only needed on the page that you are adding the rules to. If you plan on using the rules on multiple pages, it would be better to use an external style sheet and embed the style sheet on each of the pages. An example of an internal style sheet would look like: &lt;style type="text/css" media="all"&gt; body { background-color: #FFFFFF; } p { text-color: #000000; text-weight: normal; } &lt;/style&gt;


What is a DIV layout?

Its used for tableless websites. So instead of &lt;table&gt;&lt;tr&gt;&lt;td&gt;, you would use &lt;div&gt; to separate areas along with a style sheet.


What dress style is best for boyish figures?

A wrap style dress would look great as it would define the waist.


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

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


How would you define balance sheet?

A balance sheet is a statement of the financial posting of a business which states the assets, liabilities and owners' equity at particular point in time


Why would you link a style sheet?

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


What style does bill kaulitz have?

Bill has said that he has always liked the style of gothic clothing I would define it more as "glam rock", in Germany there are many stores that has stuff that looks like his style, and I would not determine his style as "Gothic".


What is .Style in HTML?

The style is part of a plant's reproductive system. It is the plant structure that connects the stigma (pollen collector) with the ovaries, where seed cells are fertilized in sexual reproduction.


What HTML tag is used to define an internal style sheet?

The internal stylesheet is added at the beginning of the document, in the HEAD section of an HTML page. &lt;style type="text/css"&gt; .style {font-weight:bold}: &lt;/style&gt; If you want to use inline styles, then use the style attribute: &lt;p style="font-size:24px;"&gt;Blah blah blah&lt;/p&gt;


Which HTML tag is used to define an internal style sheet?

Style or 1. Place this inside the : 2. Don't forget to add HTML comment tags "" to protect some browsers. (This is optional. Use this if you have declared a browser exception on your comment like: "If IE 6" which can be a form of improvised code to use the style for this browser type)3. Then place your style inside the comment tags.4. Close with For example: