Skip to content

meta-example.html has problem #13

@modoojunko

Description

@modoojunko

I follow the steps
image
and add <script> and <style>
I can not get same result like that.

So I checked. the console gives this error
image

I found some pages that said <script> should be after the body.

I tried it works.

In the meta-example.html there has "defer". It means after HTML body loaded , load this.
<script src="script.js" defer></script>

My point is this, learn page does not include what is defer means.

could you add this defer information on MDN learn page? (https://developer.mozilla.org/zh-CN/docs/learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions