Pārlūkot izejas kodu

Correct the html element main

Correct the HTML5 element 'content' to 'main'. 'content' is obsolete and wasn't meant to be used in ordinary HTML. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/content
Chris 6 gadi atpakaļ
vecāks
revīzija
31c610316d
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      bakerydemo/templates/base.html

+ 2 - 2
bakerydemo/templates/base.html

@@ -25,10 +25,10 @@
     {% breadcrumbs %}
 {% endblock breadcrumbs %}
 
-<content role="main">
+<main role="main">
     {% block content %}
     {% endblock content %}
-</content>
+</main>
 
     <hr>