answersLogoWhite

0


Best Answer

An internal style sheet is located inside the header tag of an HTML or similar markup language. The CSS rules located in the internal style sheet take a higher precedence then rules located in an external style sheet. Typically, an internal style sheet is used when the rules you are writing are only being used on that one page, or you are needing to override particular rules on just one page.

User Avatar

Wiki User

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

Wiki User

13y ago

Style sheets are most useful when you have many different pages to a website that you wish to have the same style for. Rather than styling each page individually, you simply link to the external style sheet.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

You would use an external stylesheet anytime the styles you've written are going to be used on more than one page.

For instance, let's pretend that you're managing a site with several hundred pages. All those pages have a page title that you've place inside an

tag. If you create an inline stylesheet on each of those pages, and set the

s to be blue, and then decided later that you want orange instead, you'll have to go and change every single page. The external stylesheet lets you edit just that one file, once, and the changes will happen throughout the site.

The external stylesheet also gives you a bonus on page load. If every page has an internal stylesheet that contains the same information, that browser will have to load that again and again. But if you move that information to an external file, the browser will be able to load it once and cache the file (essentially, saving the file locally and referring back to it instead of downloading it again.) This is one less server hit, and makes your pages that much faster.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Cascading style-sheets are programmed externally (separate from the HTML) so developers can influence multiple elements at the same time. If I wanted to change multiple paragraph elements, for example, it would be much more efficient to change one line on the linked style-sheet than it would be to type the same thing over and over in the elements' tags.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why do you use the External style sheet?
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.


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

<link></link>


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 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 <style> 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: <style type="text/css" media="all"> body { background-color: #FFFFFF; } p { text-color: #000000; text-weight: normal; } </style>


How do you refer to an external style sheet on HTML?

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.

Related questions

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

An external style sheet.


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


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?

<link></link>


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 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.


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 <style> 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: <style type="text/css" media="all"> body { background-color: #FFFFFF; } p { text-color: #000000; text-weight: normal; } </style>


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 { } <p class="photobox">Blah Blah Blah</p>


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.


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.


How do you refer to an external style sheet on HTML?

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.