_content: fix various html bugs

Change-Id: I17edcd0aab68844afdcf023b28ea5e0b652b1900
Reviewed-on: https://go-review.googlesource.com/c/website/+/342609
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
diff --git a/_content/doc/editors.html b/_content/doc/editors.html
index 0ba8836..11d6512 100644
--- a/_content/doc/editors.html
+++ b/_content/doc/editors.html
@@ -23,6 +23,7 @@
 <li><a href="https://www.jetbrains.com/go">GoLand</a>: GoLand is distributed either as a standalone IDE
 or as a plugin for IntelliJ IDEA Ultimate</li>
 <li><a href="https://github.com/fatih/vim-go">vim</a>: vim-go plugin provides Go programming language support</li>
+</ul>
 
 <p>
 Note that these are only a few top solutions; a more comprehensive
diff --git a/_content/doc/gdb.html b/_content/doc/gdb.html
index 115b63f..1db0705 100644
--- a/_content/doc/gdb.html
+++ b/_content/doc/gdb.html
@@ -9,13 +9,15 @@
 Do not send CLs removing the interior tags from such phrases.
 -->
 
-<i>
 <p>
+<i>
 The following instructions apply to the standard toolchain
 (the <code>gc</code> Go compiler and tools).
 Gccgo has native gdb support.
+</i>
 </p>
 <p>
+<i>
 Note that
 <a href="https://github.com/go-delve/delve">Delve</a> is a better
 alternative to GDB when debugging Go programs built with the standard
@@ -25,8 +27,8 @@
 For the most up-to-date list of supported platforms, please see
 <a href="https://github.com/go-delve/delve/tree/master/Documentation/installation">
  the Delve documentation</a>.
-</p>
 </i>
+</p>
 
 <p>
 GDB does not understand Go programs well.
diff --git a/_content/doc/go1.4.html b/_content/doc/go1.4.html
index 1c306f6..c846ebe 100644
--- a/_content/doc/go1.4.html
+++ b/_content/doc/go1.4.html
@@ -748,7 +748,7 @@
 
 <li>
 The <a href="/pkg/math/"><code>math</code></a> package now has a
-<a href="/pkg/math/#Nextafter32"><code>Nextafter32</code><a/> function.
+<a href="/pkg/math/#Nextafter32"><code>Nextafter32</code></a> function.
 </li>
 
 <li>
diff --git a/_content/doc/go1.html b/_content/doc/go1.html
index fa84062..c53cc1e 100644
--- a/_content/doc/go1.html
+++ b/_content/doc/go1.html
@@ -661,6 +661,7 @@
 Go 1 has moved a number of packages into other repositories, usually sub-repositories of
 <a href="//code.google.com/p/go/">the main Go repository</a>.
 This table lists the old and new import paths:
+</p>
 
 <table class="codetable" frame="border" summary="Sub-repositories">
 <colgroup align="left" width="40%"></colgroup>
diff --git a/_content/doc/install/source.html b/_content/doc/install/source.html
index db0e60c..e7b3dfc 100644
--- a/_content/doc/install/source.html
+++ b/_content/doc/install/source.html
@@ -525,7 +525,7 @@
 The name of the target operating system and compilation architecture.
 These default to the values of <code>$GOHOSTOS</code> and
 <code>$GOHOSTARCH</code> respectively (described below).
-</li>
+</p>
 
 <p>
 Choices for <code>$GOOS</code> are
@@ -548,6 +548,8 @@
 
 <p>
 The valid combinations of <code>$GOOS</code> and <code>$GOARCH</code> are:
+</p>
+
 <table cellpadding="0">
 <tr>
 <th width="50"></th><th align="left" width="100"><code>$GOOS</code></th> <th align="left" width="100"><code>$GOARCH</code></th>
@@ -670,7 +672,6 @@
 <td></td><td><code>windows</code></td> <td><code>amd64</code></td>
 </tr>
 </table>
-<br>
 
 <li><code>$GOHOSTOS</code> and <code>$GOHOSTARCH</code>
 <p>
@@ -678,7 +679,6 @@
 These default to the local system's operating system and
 architecture.
 </p>
-</li>
 
 <p>
 Valid choices are the same as for <code>$GOOS</code> and