HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML onoffline Attribute

HTML onoffline Attribute



The onoffline attribute fires when the browser starts to work offline. It is similar to but opposite of ononline attribute.


Used With:-


Elements Event
body onoffline




Its syntax is:- < element onoffline="your_script" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML