\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 2028 times
Edit
8
Community EvaluationsNo one has reviewed this question yet, be the first!
10
What is the `contenteditable` attribute in HTML5?9
What is the selector `nav a[href^=http://]`?7
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?8
How to create a navigation section in HTML59
What are the two methods that can be used to send data to a server in HTML5?8
What is the `<output>` element in HTML5?