WordPress / gutenberg-starter-theme

A simple theme for testing Gutenberg.
GNU General Public License v2.0
683 stars 163 forks source link

Declare HTML5 scripts and styles support for better compliance with W3C validator #101

Open audrasjb opened 4 years ago

audrasjb commented 4 years ago

Hi,

Given this theme is written in HTML5, it should declare HTML5 support for styles and script to avoid using type attributes in styles and scripts.

Otherwise, W3C validator will throw a warning because of the type element.

This option was introduced in WordPress 5.3. For reference, see: