Skip to content

Add styles to HEAD, not to BODY #2499

@illialaz

Description

@illialaz

Hello. I want to ask, if there any ability to add all the <style> tags in head, but not in body. In my case, we use NextJS with config { amp: true }, but it requires all the styles to store inside head tag. In this case we can't run the app. As well, the standards (HTML 4.01: the style element) clearly specifies that the style tag is only allowed inside the head tag. Could you add an ability to insert style inside head? It will be really helpful for us.

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