\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 1748 times
Edit
4
Community EvaluationsNo one has reviewed this question yet, be the first!
6
How to create a navigation section in HTML56
How to add a sandbox attribute to an iframe in HTML56
Calculate the vertical spacing between 2 paragraphs in HTML56
What is the HTML element that is used to group related content?5
Write a doctype for HTML58
What is the `contenteditable` attribute in HTML5?8
What are the two methods that can be used to send data to a server in HTML5?