git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH (homepage)] Make git homepage (main page) use valid HTML

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 30, 2007, 10:59 UTC
Message-ID
<200711301159.11290.jnareb@gmail.com>
Checked by W3C Markup Validation Service:
  http://validator.w3.org

Most of those changes makes git homepage use valid XML / SGML; the errors were incorrect ordering of closing tags, wrong closing tags, spurious closing tags.

HTML declares that <p> element cannot contain other block elements (at least not interspersed with text); correcting this also fixed layout (in Mozilla), where part of paragraph after <pre> element was not indented.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
Resent.
I hope that it would make through anti-SPAM filters...
 index.html |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/index.html b/index.html
index 01726f6..29fa0b1 100644
--- a/index.html
+++ b/index.html
@@ -88,7 +88,8 @@ Junio C Hamano.</p>
 
 <h2 id="about">About Git</h2>
 
-<div style="float: right"><table class="releases">
+<div style="float: right">
+<table class="releases">
 	<tr><th><a href="course/index.html">Git Crash Courses</a></th></tr>
 	<tr><td align="center">
 	<a 
href="http://www.kernel.org/pub/software/scm/git/docs/tutorial.html">Git 
for everyone</a>
@@ -98,8 +99,9 @@ Junio C Hamano.</p>
 	<br /><a href="course/stgit.html">Maintaining external patches</a>
 	<br /><a href="course/svn.html">Git for SVN users</a>
 	<br /><em>More to come soon...</em>
-	</tr></td>
-</table></div>
+	</td></tr>
+</table>
+</div>
 
 <p>Git is distributed version control system focused on
 speed, effectivity and real-world usability on large projects.
@@ -173,7 +175,7 @@ and are either porting an existing toolset to use 
the Git tools,
 or reimplementing the concepts internally,
 to benefit from the performance improvements.
 This includes e.g.
-<a href="http://wiki.darcs.net/DarcsWiki/DarcsGit">Darcs-git</a>.</li>
+<a href="http://wiki.darcs.net/DarcsWiki/DarcsGit">Darcs-git</a>.</p>
 
 
 <hr />
@@ -223,7 +225,7 @@ You can also use one of many <a 
href="http://www.kernel.org/mirrors/">kernel.org
 <tr class="odd">
 <td rowspan="3">Debs</td>
 <td>Stable</td>
-<td><a 
href="http://www.backports.org/debian/pool/main/g/git-core/">http://www.backports.org/debian/pool/main/g/git-core/</a></dd></td>
+<td><a 
href="http://www.backports.org/debian/pool/main/g/git-core/">http://www.backports.org/debian/pool/main/g/git-core/</a></td>
 </tr>
 <tr>
 <td>Testing</td>
@@ -233,7 +235,6 @@ You can also use one of many <a 
href="http://www.kernel.org/mirrors/">kernel.org
 <td>Unstable</td>
 <td><a 
href="http://packages.debian.org/unstable/devel/git-core">http://packages.debian.org/unstable/devel/git-core</a></td>
 </tr>
-</td>
 
 </table>
 
@@ -247,16 +248,14 @@ You can also use one of many <a 
href="http://www.kernel.org/mirrors/">kernel.org
 <h3>Git by git</h3>
 
 <p>If you already have Git installed, you can get the latest
-development version via Git itself:
+development version via Git itself:</p>
 <pre>git clone git://git.kernel.org/pub/scm/git/git.git</pre>
-</p>
 
 <p>If you have problems connecting (Git uses port 9418),
-you can try to access the repository over the HTTP protocol:
+you can try to access the repository over the HTTP protocol:</p>
 <pre>git clone http://www.kernel.org/pub/scm/git/git.git</pre>
-(this method is considerably slower but works even behind
-firewalls and such).
-</p>
+<p>(this method is considerably slower but works even behind
+firewalls and such).</p>
 
 <p>You can also always browse the current contents
 of the git repository on web using the kernel.org
-- 
1.5.3.6
Next: Jonas Fonseca
Message 1 of 4 in “Make git homepage (main page) use valid HTML”
  1. Make git homepage (main page) use valid HTMLJakub Narebski, Nov 30, 2007
  2. Jonas FonsecaNov 30, 2007
  3. Jakub NarebskiNov 30, 2007
  4. Jonas FonsecaNov 30, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.