aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/extensions/web-readme.txt.tmpl
blob: 41dcd8edf2aa604fa32c6cc6c79184df774833f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  #
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
  #%]

Web-accessible files, like JavaScript, CSS, and images go in this
directory. You can reference them directly in your HTML. For example,
if you have a file called "style.css" and your extension is called
"Foo", you would put it in "extensions/Foo/web/style.css", and then
you could link to it in HTML like:

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