NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 918 - Working of Global event handler
Working of Global event handler
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: Documentation
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-11 21:32 CEST by Vineet Gupta
Modified: 2013-07-12 04:37 CEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vineet Gupta 2012-04-11 21:32:41 CEST
Hi,

I had searched many website's and working groups but didn't found any answer to the query. Thus, writing here to get the answer to my query as:

As per HTML5 working draft clause 3.2.3 Global Attributes it describes that "event handler content attributes may be specified on any HTML element" and my question is related to this, if I write the following code:
<!DOCTYPE html>
<html onload="abc()">......

How to get the working of abc function as nothing is loaded before html element then how the onload would work. Kindly provide a little example to the above query. 

If the problem/query doesn't relate to his committee then I request you to provide the link where I can post the query or kindly post the query from my side and try to get the answer.

Vineet Gupta
Comment 1 Michael[tm] Smith 2013-07-12 04:37:14 CEST
Probably better to ask this question on the whatwg@lists.whatwg.org mailing list or somewhere.