Skip to content

Instantly share code, notes, and snippets.

@alanhogan
Created May 26, 2018 01:41
Show Gist options
  • Save alanhogan/7145a91d66d3bdb1f5187eb50b7596b8 to your computer and use it in GitHub Desktop.
Save alanhogan/7145a91d66d3bdb1f5187eb50b7596b8 to your computer and use it in GitHub Desktop.
Interesting HTML for a Safari error page
<!-- LOCALIZERS: Each localizable piece of the page is marked with a comment -->
<html>
<head>
<link rel=stylesheet type="text/css" href="page-load-errors.css">
<!-- LOCALIZERS: You might want to change the font family. You can also add styles to override sizes, etc. -->
<style>
body {font-family:'-apple-system-font';}
</style>
<!-- LOCALIZERS: The next line contains the page title that appears in the window's title bar -->
<title>Failed to open page</title>
</head>
<body>
<div class="content-container">
<div class="error-container">
<div class="text-container">
<!-- Main title here. -->
<p class="error-title">Safari Can’t Find the Server</p>
</div>
<div class="text-container">
<!-- Error message here. -->
<p class="error-message">Safari can’t open the page “‎notawebsite.example.com” because Safari can’t find the server “notawebsite.example.com”.</p>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment