HTML – ontoggle Event
The ontoggle event fires when the user opens or closes the <details> element.
The ontouchcancel event fires when the touch event on a touch screen gets interrupted.
The ontouchend event fires when the user removes their finger from an element.
The ontouchmove event fires when the user moves their finger on the screen.
The onunload event fires when the user navigates away from the page by clicking a link, submitting a form, closing the browser window, etc.
The onvolumechange event fires each time the volume of the video/audio has been changed by increasing/decreasing it or by muting/unmuting it.
The onwaiting event fires when the video stops because the next frame needs to buffer.
The onwheel event fires when the wheel of a pointing device is rolled up/down over an element, or the user scrolls/zooms on an element with a touchpad.
Emojis are characters from the UTF-8 character set that look like images or icons. This is a list of Emojis and their decimal and hexadecimal codes (also see smiley emojis). Emojis are used just like HTML Entities.
Emojis are characters from the UTF-8 character set that look like images or icons. This is a list of smiley emojis and their decimal and hexadecimal codes.
There are three “shapes” that can be used to define the clickable areas within an ImageMap.
When a browser requests a service from a web server, the server returns a code along with the document/asset, like “404 Not Found” or “200 OK”.
There are numerous input types for a form’s input tag. Choosing the correct type can be useful in displaying the correct type of keyboard on mobile devices.
ISO country codes are used in the html tag lang attribute (see Advanced Page Setup). The first two characters are the language of the page. The last two characters are the country.
ISO language codes are used in the html tag lang attribute (see Advanced Page Setup). The first two characters are the language of the page. The last two characters are the country.
This is a quick reference list of HTML events that can be used to trigger JavaScript functions and run them on the page.
Ordered list items will be marked with numbers by default (1, 2, 3, etc.). These number types can be changed, and the starting number can be set. The numeral types can also be set using the CSS list-style-type property.
HTML text can be made bold, italicized, underlined, and more. This table shows the many options available to indicate how text should appear in the browser.
Below are two HTML templates that can be used for a basic page or a more advanced page that requires more head information and linked styles and scripts.