[committed] wwwdocs: *: Omit trailing slash for <img> tags

Message ID 20221020110305.23A3033E79@hamza.pair.com
State Unresolved
Headers
Series [committed] wwwdocs: *: Omit trailing slash for <img> tags |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Gerald Pfeifer Oct. 20, 2022, 11:03 a.m. UTC
  HTML 5 now recommends against trailing slashes on void elements, so
<img ...> it is instead of <img ... />.
---
 htdocs/index.html                   | 2 +-
 htdocs/news/egcs-vcg.html           | 2 +-
 htdocs/news/gcse.html               | 2 +-
 htdocs/projects/gupc.html           | 2 +-
 htdocs/projects/tree-ssa/index.html | 2 +-
 htdocs/style.mhtml                  | 7 +++----
 6 files changed, 8 insertions(+), 9 deletions(-)
  

Patch

diff --git a/htdocs/index.html b/htdocs/index.html
index 761a598a..f4eb4817 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -13,7 +13,7 @@ 
 
 <h1 class="no-margin-top">GCC, the GNU Compiler Collection</h1>
 
-<img src="img/gccegg-65.png" alt="" class="right" />
+<img src="img/gccegg-65.png" alt="" class="right">
 
 <p>The GNU Compiler Collection includes front ends for
 <a href="c99status.html">C</a>,
diff --git a/htdocs/news/egcs-vcg.html b/htdocs/news/egcs-vcg.html
index 5213152d..2817ad06 100644
--- a/htdocs/news/egcs-vcg.html
+++ b/htdocs/news/egcs-vcg.html
@@ -141,7 +141,7 @@  test.c.cse.vcg        test.c.greg.vcg  test.c.lreg.vcg   test.c.stack.vcg
     <p>If you view these files using a suitable program, you'll get output
     similar to the following:</p>
 
-    <img src="vcg1.png" alt="completely folded graph" width="112" height="41" />
+    <img src="vcg1.png" alt="completely folded graph" width="112" height="41">
 
     <p>These are nodes representing all the functions in the file.  If
     you expand the nodes you can get a picture like
diff --git a/htdocs/news/gcse.html b/htdocs/news/gcse.html
index 80244281..5da4749b 100644
--- a/htdocs/news/gcse.html
+++ b/htdocs/news/gcse.html
@@ -52,7 +52,7 @@  Fred Chow's thesis.</p>
 flow graph:</p>
 
 <br>
-<img src="gcse.jpg" alt="PRE example" width="425" height="425" />
+<img src="gcse.jpg" alt="PRE example" width="425" height="425">
 <br>
 
 
diff --git a/htdocs/projects/gupc.html b/htdocs/projects/gupc.html
index a48d44c3..e38cd240 100644
--- a/htdocs/projects/gupc.html
+++ b/htdocs/projects/gupc.html
@@ -12,7 +12,7 @@ 
 <h1>GNU Unified Parallel C (GUPC)</h1>
 
 <img class="imgleft" src="gupc.png" width="109" height="130"
-     alt="GUPC Logo" title="GUPC" />
+     alt="GUPC Logo" title="GUPC">
 
 <p>The GNU UPC project implements a compilation and execution environment for
 programs written in the
diff --git a/htdocs/projects/tree-ssa/index.html b/htdocs/projects/tree-ssa/index.html
index afe7ac35..7d3740e4 100644
--- a/htdocs/projects/tree-ssa/index.html
+++ b/htdocs/projects/tree-ssa/index.html
@@ -192,7 +192,7 @@  based on the algorithms described by Cytron <em>et. al.</em>
 
 <p>The graph below describes the process:</p>
 
-<p><img src="tree-opt.png" alt=""/></p>
+<p><img src="tree-opt.png" alt=""></p>
 
 <p>The front ends described in the graph are just an example.  In
 general, any front end that can emit functions-as-trees can be
diff --git a/htdocs/style.mhtml b/htdocs/style.mhtml
index 4fc5e8ad..0790a972 100644
--- a/htdocs/style.mhtml
+++ b/htdocs/style.mhtml
@@ -74,14 +74,13 @@ 
   <div class="center">
   <a href="https://twitter.com/gnutools">
     <img src="<get-var BACKPATH>twitter-bird-light-bgs.png"
-      height="42" width="42" class="middle" alt="@gnutools on Twitter"
-      />@gnutools</a>
+      height="42" width="42" class="middle"
+      alt="@gnutools on Twitter">@gnutools</a>
   </div>
   <div class="center">
   <a href="https://my.fsf.org/civicrm/contribute/transact?reset=1&amp;id=57">
     <img src="<get-var BACKPATH>donate-110-23.png"
-      height="23" width="100" alt="Donate to GNU Toolchain Fund"
-      /></a>
+      height="23" width="100" alt="Donate to GNU Toolchain Fund"></a>
   </div>
   </td></tr>
   </table></td></tr>