What are the HTML tags that support the onload event?
HTML tags that support onload events are: "body", "frame", "frameset", "iframe", "img", "", "link", "script", "style" ".
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
Recommended: html tutorial
onload event
onload event will occur when the page or image is loaded Occurs immediately upon completion. onload is usually used for the element to execute script code after the page is completely loaded (including images, css files, etc.).
Syntax
//在 HTML 中: <body onload="SomeJavaScriptCode"> //在 JavaScript 中: window.onload=function(){SomeJavaScriptCode};
Parameters:
SomeJavaScriptCode: Required. Specifies the JavaScript to be executed when this event occurs.
HTML tags that support onload events
##
Tags define the body of the document. The element contains all the content of the document (such as text, hyperlinks, images, tables, lists, etc.).tag defines the child window (frame) in . Each in can set different properties, such as border, scrolling, noresize, etc. Note: If you wish to validate pages containing frames, make sure is set to "HTML Frameset DTD" or "XHTML Frameset DTD".
tag defines a frameset. The element is used to organize one or more elements. Each has its own separate document. The element specifies how many columns or rows exist in the frameset, and the percentage/pixels occupied by each row and column. Note: If you wish to validate pages containing frames, make sure is set to "HTML Frameset DTD" or "XHTML Frameset DTD". The

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
