Browse Source

Merge branch 'valid-html' into 'master'

Use valid HTML in the example

## What does this MR do?

Add a bit more HTML to the example to make it valid HTML5.

## Are there points in the code the reviewer needs to double check?

Nope.

## Why was this MR needed?

The current example is not valid: https://validator.w3.org/nu/?doc=https%3A%2F%2Fpages.gitlab.io%2Fplain-html%2F

## What are the relevant issue numbers?

None.

## Screenshots

### Before

![invalid](/uploads/3df7abeff8e8c2f51a00d9a697c75065/invalid.png)

### After

![valid](/uploads/c38fc2be423ae1fd17ae87efd24936b7/valid.png)


See merge request !11

Achilleas Pipinellis 8 years ago
parent
commit
d396283bb2
1 changed files with 15 additions and 4 deletions
  1. 15 4
      public/index.html

+ 15 - 4
public/index.html

@@ -1,5 +1,16 @@
-<h1>Hello World!</h1>
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <meta name="generator" content="GitLab Pages">
+    <title>Plain HTML site using GitLab Pages</title>
+  </head>
+  <body>
+    <h1>Hello World!</h1>
+
+    <p>
+      This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator.
+    </p>
+  </body>
+</html>
 
-<p>
-  This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator.
-</p>