Difference between revisions of "Sample default index.html"

From UNPM.org Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
Example <code>index.html</code> for testing new sites. Edit as desired.
 
Example <code>index.html</code> for testing new sites. Edit as desired.
 
+
<nowiki>
<syntaxhighlight lang="html5">
+
<!DOCTYPE html>
<!DOCTYPE html>
+
<html>
<html>
+
<head>
<head>
+
<title>Welcome to Example.com!</title>
<title>Welcome to Example.com!</title>
+
<style>
<style>
+
    body {
    body {
+
        width: 35em;
        width: 35em;
+
        margin: 0 auto;
        margin: 0 auto;
+
        font-family: Tahoma, Verdana, Arial, sans-serif;
        font-family: Tahoma, Verdana, Arial, sans-serif;
+
    }
    }
+
</style>
</style>
+
</head>
</head>
+
<body>
<body>
+
<h1>Welcome to Example.com!</h1>
<h1>Welcome to Example.com!</h1>
+
<p>If you see this page, the nginx web server is successfully installed and
<p>If you see this page, the nginx web server is successfully installed and
+
working. Further configuration is required.</p>
working. Further configuration is required.</p>
+
 
+
<p>For online documentation and support please refer to
<p>For online documentation and support please refer to
+
<a href="//nginx.org/">nginx.org</a></p>
<a href="//nginx.org/">nginx.org</a></p>
+
 
+
<p><em>Thank you for using nginx.</em></p>
<p><em>Thank you for using nginx.</em></p>
+
</body>
</body>
+
</html></nowiki>
</html>
 
</syntaxhighlight>
 

Revision as of 04:07, 10 December 2018

Example index.html for testing new sites. Edit as desired.

 <!DOCTYPE html>
 <html>
 <head>
 <title>Welcome to Example.com!</title>
 <style>
     body {
         width: 35em;
         margin: 0 auto;
         font-family: Tahoma, Verdana, Arial, sans-serif;
     }
 </style>
 </head>
 <body>
 <h1>Welcome to Example.com!</h1>
 <p>If you see this page, the nginx web server is successfully installed and
 working. Further configuration is required.</p>
 
 <p>For online documentation and support please refer to
 <a href="//nginx.org/">nginx.org</a></p>
 
 <p><em>Thank you for using nginx.</em></p>
 </body>
 </html>