]> git.p6c8.net - pcdenotes.git/commitdiff
Using <header> and <footer> in HTML
authorPatrick Canterino <patrick@patrick-canterino.de>
Sun, 23 Jan 2022 20:36:44 +0000 (21:36 +0100)
committerPatrick Canterino <patrick@patrick-canterino.de>
Sun, 23 Jan 2022 20:36:44 +0000 (21:36 +0100)
notes/templates/note_base.html

index 58cf3dddfc78ef7a635c65bb3eeb22a466c0f4ad..b3570ebbbf5b67264898580a25d521071f955c20 100644 (file)
 </head>
 <body>
 
 </head>
 <body>
 
-  <div class="container-fluid p-5 bg-primary text-white text-center">
+  <header class="container-fluid p-5 bg-primary text-white text-center">
     <h1><a href="/" class="link-light">Notes</a></h1>
     <h1><a href="/" class="link-light">Notes</a></h1>
-  </div>
+  </header>
 
   <div id="content" class="container mt-5">
     {% block content %}{% endblock %}
   </div>
 
 
   <div id="content" class="container mt-5">
     {% block content %}{% endblock %}
   </div>
 
-  <div class="container-fluid p-5 bg-dark text-white text-center mt-5">
+  <footer class="container-fluid p-5 bg-dark text-white text-center mt-5">
     <div class="row">
       <div class="col-sm">
         <ul>
     <div class="row">
       <div class="col-sm">
         <ul>
@@ -37,6 +37,6 @@
         </ul>
       </div>
     </div>
         </ul>
       </div>
     </div>
-  </div>
+  </footer>
 </body>
 </html>
\ No newline at end of file
 </body>
 </html>
\ No newline at end of file

patrick-canterino.de