LEFT | RIGHT |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 |
| 5 <title>Page Title</title> |
| 6 <link rel="stylesheet" href="../dist/css/main.min.css"> |
| 7 <base href="https://www.example.com/news/index.html"> |
| 8 <script src="../scripts/myscript.js"></script> |
| 9 </head> |
| 10 |
| 11 <body> |
| 12 Simple TS with default: Translate. |
| 13 Same TS with no default: Translate. |
| 14 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://ba
z.com/">Baz</a>. |
| 15 Link resolving: <a href="translate" hreflang="en">This page</a>. |
| 16 Link to a non-translatable page: <a href="sitemap" hreflang="en">Site map</a
>. |
| 17 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
| 18 Image link: <img src="../img/icon"></img> |
| 19 Iframe link: <iframe src="../default.asp"></iframe> |
| 20 Script link: <script src="myscripts.js"></script> |
| 21 Input link: <input type="image" src="../img/submit.gif" alt="Submit"> |
| 22 Link to external source: <a href="http://bar.de/">Bar</a> |
| 23 Link to self: <a href="rel_path" hreflang="en"> |
| 24 Link to self with extension: <a href="rel_path.html" hreflang="en"> |
| 25 Relative link to local page: <a href="../en/sitemap"> |
| 26 Absolute link to local page: <a href="sitemap"> |
| 27 Relative link to different locale: <a href="../de/sitemap"> |
| 28 Absolute link to diferent locale: <a href="../de/sitemap"> |
| 29 Relative link to page in subfolder: <a href="../foo/bar"> |
| 30 Absolute link to page in subfolder: <a href="../foo/bar"> |
| 31 Resource URL: <link rel="stylesheet" href="../dist/css/main.min.css"> |
| 32 </body> |
| 33 |
| 34 </html> |
LEFT | RIGHT |