Ver código fonte

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 anos atrás
pai
commit
31c610316d
1 arquivos alterados com 2 adições e 2 exclusões
  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>