Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Frontend
→
Advanced JavaScript Interview Questions in Frontend
→
Explain the difference between internal and extern...
1.
Explain the difference between internal and external Javascript?
Answer»
S.no
Inline scripts
External scripts
1.
It loaded in the same page so not necessary to
TRIGGER
another request.
It gives better
SEPARATION
of concerns and maintainability.
2.
These scripts executed immediately
External script is
DOWNLOADED
by the browser & stores it in the cache.
3.
async and defer attributes did not use
async and defer attributes can be use
4.
It is helpful when we are
USING
a server side dynamic rendering
It can be used to load browser side code on demand & reduce overall download
TIME
and size.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What is the use of clear in CSS?
What are the new features in HTML5?
What is the difference between HTML XHTML and XML?
What are the advantages of tableless layout?
Explain the features of Three.js?
What is the purpose of JSON.stringify()?
Explain the difference between internal and external Javascript?
What are the building blocks of HTML5?
What is the difference between a unit test and a functional test?
What is domain pre-fetching and how does it help with performance?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies