answersLogoWhite

0


Best Answer

The async and defer attributes are boolean attributes that indicate how the script should be executed. The defer and async attributes must not be specified if the src attribute is not present.

There are three possible modes that can be selected using these attributes. If the async attribute is present, then the script will be executed asynchronously, as soon as it is available. If the async attribute is not present but the defer attribute is present, then the script is executed when the page has finished parsing. If neither attribute is present, then the script is fetched and executed immediately, before the user agent continues parsing the page.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you use the async attribute in html5?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can you validate the name using HTML?

In earlier versions of HTML, validation could be done only by JS. However, we can do it inbuilt by required attribute in HTML5.


How use start and stop bit in asynchronous transmission?

Register two times the async input. Use it in your sync system


What are the development will made in html5?

By using the Html5 lot of development can be made like HTML5 mobile apps,html5 mobile websites,html5 mobile template,html5 mobile boilerplate work, html5 mobile games,html5 mobile forms


How is HTML5 downloaded?

HTML5 isn't something you download. HTML is the language for creating Web pages and HTML5 is the latest version that is being devised by Web standards organizations. To use HTML5, you can write HTML5 instructions (known as tags) in a text editor, save the text file, and then open the file in a Web browser that supports HTML5. As of January 2011, the major Web browsers such as Internet Explorer, Firefox, Safari, and Chrome are beginning to support HTML5 features. For more information about HTML5, see the Related Link.


How do you get rid of the green screen for HTML5 player?

you use shout it is in target


What is different between HTML4 and HTML5?

Syntax is very similar. HTML5 allows you to upload video, do animation, etc. without the use of Flash or Silverlight. Pretty awesome...


Are Google Chrome can support html5?

Yes, Chrome can support HTML5. HTML5 is the latest version of HTML and has many features.


Would HTML5 support or connect if you use mysql as database?

test web


Is html5 support all browsers?

Most browsers support HTML5. However not all of them. You can check the HTML5 compatibility by running the html5test.


Where is HTML 5 in use now?

There is no "HTML5" yet; there is only a discussion about a possible future specification. To see examples of various features of the WhatWG "HTML5" proposals, try http://www.html5gallery.com/ .


Which attribute for script elements is no longer required in HTML5?

The "type" element is no longer required for HTML 5. In the past, you needed to include the "type" element to notify the browser of the scripting language. It is optional for HTML 5.