teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

追記

2018/07/19 06:42

投稿

naonao11
naonao11

スコア97

title CHANGED
File without changes
body CHANGED
@@ -58,21 +58,7 @@
58
58
  <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
59
59
  <title> sample1</title>
60
60
  <link rel="canonical" href="http://sample/aaa/941" >
61
- <style amp-boilerplate>
62
- body{
63
- -webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;
64
- -moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;
65
- -ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;
66
- animation:-amp-start 8s steps(1,end) 0s 1 normal both
67
- }
68
- @-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}
69
- @-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}
70
- @-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}
71
- @-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}
72
- @keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}
73
- </style>
74
- <noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
75
- <script async src="https://cdn.ampproject.org/v0.js"></script>
61
+ <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> <script async src="https://cdn.ampproject.org/v0.js"></script>
76
62
  <style amp-custom>
77
63
  body {
78
64
  font-size: 15px;
@@ -168,7 +154,7 @@
168
154
  <body>
169
155
  <header>
170
156
  <div>
171
- <a href="/"><amp-img src="/shared/img/header_zan_logo.png" width="250px" height="30px" height="" alt="画像名"></amp-img></a>
157
+ <a href="/"><amp-img src="/shared/img/header_zan_logo.png" width="250px" height="30px" alt="画像名"></amp-img></a>
172
158
  </div>
173
159
  </header>
174
160
  <div>
@@ -229,4 +215,10 @@
229
215
 
230
216
  ```
231
217
  必須タグについては書き,禁止タグについては省いているのでここまでエラーが出るのがわかりません。
232
- ご助力お願いいたします・・・
218
+ ご助力お願いいたします・・・
219
+
220
+ 追記
221
+ ---
222
+ https://validator.ampproject.org/
223
+ で上のコードを見てみるとValidation Status: PASS と出てきます。
224
+ これはローカル環境だからエラーが出ていたということなのでしょうか。