This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html Multipage: http://www.whatwg.org/C#the-body-element Complete: http://www.whatwg.org/c#the-body-element Referrer: Comment: I am not sure Why? or When? the online or offline script would be used... Posted from: 50.121.134.14 by chuck1114@frontier.com User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36
As written, it probably would never be used. But it might be used in more complex scenarios to know when to try contacting the server to update local state, for example in a Web-based document editor. In the spec though it's just an example of using the <body> element.
Let me know (by reopening the bug) if that's not sufficient explanation. Thanks.