aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Ruscoe <tonyruscoe@gmail.com>2019-02-22 14:39:42 +0000
committerGitHub <noreply@github.com>2019-02-22 14:39:42 +0000
commit91d6e367e384b0d8aaaf7ce95029514fcdf38651 (patch)
treeb2f2fd355f0543db470423e5928d960293401be5
parent6271f3f473ceb3a7fef99388a3040903b1a145f1 (diff)
parent967ca824e3cd54e2df80bbacaedb66a08c431b88 (diff)
downloadgoogle-styleguide-91d6e367e384b0d8aaaf7ce95029514fcdf38651.tar.gz
Merge pull request #439 from clingeric/patch-1
Removed RAS (redundant acronym syndrome) syndrome
-rw-r--r--htmlcssguide.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/htmlcssguide.html b/htmlcssguide.html
index 79ebafe..5ac4b93 100644
--- a/htmlcssguide.html
+++ b/htmlcssguide.html
@@ -25,16 +25,16 @@ quality is maintained.</p>
<h4 id="Protocol">2.1.1 Protocol</h4>
-<p>Use the HTTPS protocol for embedded resources where possible.</p>
+<p>Use HTTPS for embedded resources where possible.</p>
-<p>Always use the HTTPS protocol (<code>https:</code>) for images and other media
+<p>Always use HTTPS (<code>https:</code>) for images and other media
files, style sheets, and scripts, unless the respective files are not available
over HTTPS.</p>
<pre><code class="language-html prettyprint badcode">&lt;!-- Not recommended: omits the protocol --&gt;
&lt;script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"&gt;&lt;/script&gt;
-&lt;!-- Not recommended: uses the HTTP protocol --&gt;
+&lt;!-- Not recommended: uses HTTP --&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"&gt;&lt;/script&gt;
</code></pre>
@@ -45,7 +45,7 @@ over HTTPS.</p>
<pre><code class="language-css prettyprint badcode">/* Not recommended: omits the protocol */
@import '//fonts.googleapis.com/css?family=Open+Sans';
-/* Not recommended: uses the HTTP protocol */
+/* Not recommended: uses HTTP */
@import 'http://fonts.googleapis.com/css?family=Open+Sans';
</code></pre>