Skip to content

Commit 2f2bbdd

Browse files
committed
Update README.md
1 parent dde7c67 commit 2f2bbdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ The META elements can be used to include name/value pairs describing properties
546546
<b><a href="#">↥ back to top</a></b>
547547
</div>
548548

549-
## Q. What does async and defer refer in script tag? Describe the difference between `<script>`, `<script async>` and `<script defer>`
549+
## Q. What does async and defer refer in script tag?
550550

551551
* **Async**: Downloads the script file during HTML parsing and will pause the HTML parser to execute it when it has finished downloading.
552552

@@ -556,7 +556,7 @@ The async attribute is used to indicate to the browser that the script file can
556556

557557
The defer attribute tells the browser to only execute the script file once the HTML document has been fully parsed.
558558

559-
**Example**
559+
**Example:**
560560

561561
```html
562562
<!-- Without async or defer, browser will run your script immediately, before rendering the elements that's below your script tag. -->

0 commit comments

Comments
 (0)