Skip to content

Commit b03846c

Browse files
committed
Merge pull request joomla#60 from nternetinspired/gh-pages
[fix] Changes script tags to link to prevent them being hidden on GH pages
2 parents 90acadc + 8588e3a commit b03846c

File tree

1 file changed

+4
-2
lines changed
  • manual/en-US/coding-standards/chapters

1 file changed

+4
-2
lines changed

manual/en-US/coding-standards/chapters/html.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ This prevents mixed content issues and results in minor file size savings.
1212

1313
```html
1414
<!-- Good -->
15-
<script src="//www.google.com/js/gweb/analytics/autotrack.js"></script>
15+
<link rel="stylesheet" href="//joomla.org/css/main.css">
16+
1617
<!-- Bad -->
17-
<script src="http://www.google.com/js/gweb/analytics/autotrack.js"></script>
18+
<link rel="stylesheet" href="http://joomla.org/css/main.css">
1819
```
1920

2021
### Type attributes
@@ -33,6 +34,7 @@ All html should be lowercase; element names, attributes, attribute values (unles
3334
```html
3435
<!-- Good -->
3536
<img src="joomla.png" alt="Joomla">
37+
3638
<!-- Bad -->
3739
<A HREF="/">Home</A>
3840
```

0 commit comments

Comments
 (0)