Skip to content

Validation warnings: The type attribute is unnecessary for JavaScript resources #184

@tomas-eklund

Description

@tomas-eklund

Pages created with Hello Elementor and Elementor Pro does not fully validate with the w3.org Markup Validation Service. Or at least it will result in a ton of warnings like:

The type attribute is unnecessary for JavaScript resources.

According to this Stack Overflow answer this can be resolved by adding HTML5 support to script and style, like so:

add_theme_support( 'html5', array( 'script', 'style' ) );

Is there a reason this is not already built-in behavior of the Hello Elementor theme?

Would you consider adding it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions