Skip to content

Commit d8d22d5

Browse files
committed
Move Stylesheet definition to Style sheet
1 parent 0dff7c5 commit d8d22d5

5 files changed

Lines changed: 18 additions & 17 deletions

File tree

files/en-us/_redirects.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3605,6 +3605,7 @@
36053605
/en-US/docs/Glossary/Simple_response_header /en-US/docs/Glossary/CORS-safelisted_response_header
36063606
/en-US/docs/Glossary/Spartan /en-US/docs/Glossary/Microsoft_Edge
36073607
/en-US/docs/Glossary/Static_property /en-US/docs/Glossary/Property/JavaScript
3608+
/en-US/docs/Glossary/Stylesheet /en-US/docs/Glossary/Style_sheet
36083609
/en-US/docs/Glossary/Transferable_objects /en-US/docs/Web/API/Web_Workers_API/Transferable_objects
36093610
/en-US/docs/Glossary/Transmission_Control_Protocol_(TCP) /en-US/docs/Glossary/TCP
36103611
/en-US/docs/Glossary/URI/www_vs_non-www_URLs /en-US/docs/Web/URI/Guides/Choosing_between_www_and_non-www_URLs

files/en-us/_wikihistory.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4661,7 +4661,7 @@
46614661
"modified": "2020-03-27T15:58:36.525Z",
46624662
"contributors": ["RafeyIqbalRahman", "Iqbalh11", "Sheppy"]
46634663
},
4664-
"Glossary/Stylesheet": {
4664+
"Glossary/Style_sheet": {
46654665
"modified": "2019-12-03T08:33:18.728Z",
46664666
"contributors": ["chrisdavidmills", "nicho110"]
46674667
},
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Style sheet
3+
slug: Glossary/Style_sheet
4+
page-type: glossary-definition
5+
sidebar: glossarysidebar
6+
---
7+
8+
A **Style sheet** (sometimes referred to as a "stylesheet") is a set of CSS rules used to control the layout and design of a webpage or document. _Internal_ stylesheets are placed inside a {{htmlelement("style")}} element inside the {{htmlelement("head")}} of a web document, and _external_ stylesheets are placed inside a separate `.css` file, which is applied to a document by referencing the file inside a {{htmlelement("link")}} element in the document's head.
9+
10+
External stylesheets are generally preferred because they allow you to control the styling of multiple pages from a single place, rather than having to repeat the CSS across each page.
11+
12+
## See also
13+
14+
- [CSS Styling basics](/en-US/docs/Learn_web_development/Core/Styling_basics)
15+
- Stylesheets on [Wikipedia](<https://en.wikipedia.org/wiki/Style_sheet_(web_development)>)

files/en-us/glossary/stylesheet/index.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

files/en-us/web/api/cssstylesheet/cssstylesheet/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ browser-compat: api.CSSStyleSheet.CSSStyleSheet
88

99
{{APIRef("CSSOM")}}
1010

11-
The **`CSSStyleSheet()`** constructor creates a new {{domxref("CSSStyleSheet")}} object which represents a single [Stylesheet](/en-US/docs/Glossary/Stylesheet).
11+
The **`CSSStyleSheet()`** constructor creates a new {{domxref("CSSStyleSheet")}} object which represents a single [Stylesheet](/en-US/docs/Glossary/Style_sheet).
1212

1313
After constructing a stylesheet the {{domxref("CSSStyleSheet.replace()")}}, {{domxref("CSSStyleSheet.replaceSync()")}}, {{domxref("CSSStyleSheet.insertRule()")}}, and {{domxref("CSSStyleSheet.deleteRule()")}} methods can be used to modify the rules of the new stylesheet.
1414

0 commit comments

Comments
 (0)