-
Notifications
You must be signed in to change notification settings - Fork 9.3k
/
seo-tester.html
65 lines (60 loc) · 2.74 KB
/
seo-tester.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!doctype html>
<!--
* Copyright 2017 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-->
<html>
<head>
<title>SEO audit tester</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<meta name="Description" content="The premiere destination for testing your SEO audit gathering">
<!-- PASS(hreflang): valid language codes -->
<link rel="alternate" hreflang="es" href="https://lat.example.com" />
<link rel="alternate" Hreflang="en-PH" href="https://ph.example.com" />
<LINK REL="ALTERNATE" HREFLANG="ru-RU" HREF="https://ru.example.com" />
<LINK REL="alternate" HREFLANG="zh-Hans-TW" HREF="https://zh.example.com" />
<link rel="alternate" href="http://example.com/" hreflang="x-default" />
<!-- PASS(canonical): valid canonical URL -->
<link rel="canonical" href="http://localhost:10200/seo/" />
<!-- PASS(json-ld): valid JSON-LD -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Event",
"name": "Cat Global"
}
</script>
<style>
.small {
font-size: 11px;
}
</style>
</head>
<body>
<!-- PASS(hreflang): should ignore links in the body -->
<link rel="alternate" hreflang="nonsense" href="https://nonsense.example.com" />
<!-- PASS(canonical): should ignore links in the body -->
<link rel="canonical" href="http://localhost:10200/seo/" />
<h1>SEO</h1>
<h2>Anchor text</h2>
<a href='https://example.com'>descriptive link</a>
<a href='#non-descriptive-local'>click this</a>
<a href='https://example.com/non-descriptive-no-follow.html' rel="nofollow">click this</a>
<a href='javascript:void(0);'>click this</a>
<h2>Small text</h2>
<!-- PASS(font-size): amount of illegible text is below the 60% threshold -->
<p class='small'> 1 </p>
<h6>2</h6>
<font size="1">3<b>4</b></font>
<p style='font-size:10px'>5 </p>
<script class='small'>
// text from SCRIPT tags should be ignored by the font-size audit
</script>
<!-- override global URL - bug #5701 -->
<script>URL = '';</script>
<!-- PASS(plugins): external content does not require java, flash or silverlight -->
<object data="test.pdf" type="application/pdf" width="300" height="200"></object>
</body>
</html>