]> git.puffer.fish Git - max/www.git/commitdiff
Conforming to Nu Html Checker
authorMax Charrier <max@puffer.fish>
Sat, 19 Apr 2025 11:21:31 +0000 (13:21 +0200)
committerMax Charrier <max@puffer.fish>
Sat, 19 Apr 2025 11:21:31 +0000 (13:21 +0200)
Fix element a/button must not appear as a descendant of button/a
element.
Use only a element with distinct class style

Signed-off-by: Max Charrier <max@puffer.fish>
en.html
index.html
stylesheet.css

diff --git a/en.html b/en.html
index 13665c55f50004fdc09b85f1ff5b02ca6abc089d..4eb69feed58d4d5f94fcacdbe356b7e542d2bfbb 100644 (file)
--- a/en.html
+++ b/en.html
@@ -16,6 +16,6 @@
  <BODY>
   <H1>Max</H1>
   <P>Welcome to Deez Nuts!</P>
-  <BUTTON LANG="fr"><A HREF="index.html">Go back to La France! &lt;-</A></BUTTON>
+  <A LANG="fr" CLASS="button" HREF="index.html">Go back to La France! &lt;-</A>
  </BODY>
 </HTML>
index e0909aab07f113de88244d1ae752bc0860b860d1..d202baf988498195eba664e8dac04f5e64250953 100644 (file)
@@ -16,6 +16,6 @@
  <BODY>
   <H1>Max</H1>
   <P>Pain, beurre et confiture</P>
-  <BUTTON LANG="en"><A HREF="en.html">-&gt; For the English document</A></BUTTON>
+  <A LANG="en" CLASS="button" HREF="en.html">-&gt; For the English document</A>
  </BODY>
 </HTML>
index 9170b68de57da0e6378847bfb61631ab2bc8ac09..269ad1cd094884cec0a36f8a978b3cf82b8969ba 100644 (file)
@@ -7,10 +7,17 @@ body {
 h1 {
        font-size: 4rem;
 }
-button {
+.button {
        position: absolute;     
        top: 20px;
        right: 40px;
        font-family: 'comic_monobold', ui-monospace, monospace;
        font-size: 1.2rem;
+       display: inline-block;
+       padding: 10px 20px;
+       background-color: #5d3a00;
+       color: #f9ea9a;
+       text-decoration: none;
+       border: 1px solid #f98948;
+       border-radius: 5px;
 }