Skip to content

Commit 621472e

Browse files
committed
Fix typo in HTML Interview Questions
1 parent 969538b commit 621472e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front-end/interview-questions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Note: The `async` and `defer` attrib­utes are ignored for scripts that have no
154154

155155
Putting `<link>`s in the head is part of the specification. Besides that, placing at the top allows the page to render progressively which improves user experience. The problem with putting stylesheets near the bottom of the document is that it prohibits progressive rendering in many browsers, including Internet Explorer. Some browsers block rendering to avoid having to repaint elements of the page if their styles change. The user is stuck viewing a blank white page. It prevents the flash of unstyled contents.
156156

157-
**Placing `<scripts>`s just before `<body>`**
157+
**Placing `<scripts>`s just before `</body>`**
158158

159159
`<script>`s block HTML parsing while they are being downloaded and executed. Downloading the scripts at the bottom will allow the HTML to be parsed and displayed to the user first.
160160

0 commit comments

Comments
 (0)