HTML 5 test for new elements

How can I check if my browser supports new HTML 5 semantic elements, such as:

<nav>
<footer>

etc.?

+3
source share
2 answers

For a quick check on non-programming: HTML5 Test

+2
source

Immersion in HTML5> Detecting HTML5 Functions :

There are four main methods for determining whether a browser supports a specific function. From the simplest to the most complex:

  • Check if there is any property for the global object (such as a window or navigator).

    Example: testing geolocation support

  • Create an element, then check if any property exists in this element.

    :

  • , , - , .

    :

  • , , , .

    : , <input>

,

Modernizr, , MIT, HTML5 CSS3.

:

A: -- - .

+4

Source: https://habr.com/ru/post/1745551/


All Articles