Code
Execute
<!DOCTYPE html> <html> <head> <title>html tutorial - html5 - html code - html form - In 30Sec by Microsoft Award MVP - | wikitechy ononline attribute</title> </head> <body ononline="online()"> <h2>Goto file menu and click "Work Offline"</h2> <p> Learn to Code in Wikitechy <br> Teach people how different technologies are organized<br> <b>Note:</b> ononline only supported in Firefox and Internet Explorer version 8 to 10. </p> <script> function online () { alert ("You are working in online."); } </script> </body> </html>
Result