\r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n\r\n\r\n```","suggestedAnswer":[{"@type":"Answer","text":"Technique 1"},{"@type":"Answer","text":"Technique 2"},{"@type":"Answer","text":"Technique 3"},{"@type":"Answer","text":"Technique 4"},{"@type":"Answer","text":"Technique 5"}],"acceptedAnswer":[{"@type":"Answer","text":"Technique 3"},{"@type":"Answer","text":"Technique 5"}]}}
Hard
Among the techniques presented below, which ones are said to be "non-blocking"?
<!-- Technique 1 -->
<script src="example.js" type="text/javascript"></script>
<!-- Technique 2 -->
<script src="example.js"></script>
<!-- Technique 3 -->
<script src="example.js" async></script>
<!-- Technique 4 -->
<script type="text/javascript"></script>
<!-- Technique 5 -->
<script type="text/javascript">
var script = document.createElement('script');
script.src = 'example.js';
script.type = 'text/javascript';
document.getElementsByTagName('script')[0].parentNode.appendChild(script);
</script>
Author: Jean-marie CléryStatus: PublishedQuestion passed 2187 times
Edit
8
Community EvaluationsNo one has reviewed this question yet, be the first!
9
Which statements are true regarding the image management on this web page?9
How to create a navigation section in HTML58
What is the name of the technology that allows you to cache data and serve it offline?9
What is the HTML element that is used to group related content?10
What is the `contenteditable` attribute in HTML5?9
What is the selector `nav a[href^=http://]`?9
What are the two methods that can be used to send data to a server in HTML5?