Opened 6 years ago
Last modified 5 years ago
#5144 new defect (bug)
[all websites] Declare HTML5 scripts and styles support for better compliance with W3C validator
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | General | Keywords: | has-patch |
| Cc: |
Description
Hi,
Given almost all WordPress themes are written in HTML5, they should declare HTML5 support for styles and scripts 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:
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Declare HTML5 scripts and styles support for better compliance with HTML5 standards