\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 1896 times
Edit
5
Community EvaluationsNo one has reviewed this question yet, be the first!
8
What is the `contenteditable` attribute in HTML5?7
How to create a navigation section in HTML56
How to add a sandbox attribute to an iframe in HTML58
What is the HTML element that is used to group related content?8
What are the two methods that can be used to send data to a server in HTML5?7
What is the selector `nav a[href^=http://]`?6
What is the `<output>` element in HTML5?