unable to find onClick attribute for <body> html tag in https://developer.mozilla.org/en-US/docs/HTML/Element/body

RESOLVED FIXED

Status

Developer Documentation
HTML
P2
normal
RESOLVED FIXED
6 years ago
2 years ago

People

(Reporter: arnon81, Assigned: teoli)

Tracking

Details

(Whiteboard: u=webdev p=1 c=HTML)

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (X11; Linux i686) KHTML/4.7.4 (like Gecko) Konqueror/4.7

Steps to reproduce:

went to https://developer.mozilla.org/en-US/docs/HTML/Element/body
to see if <body> can accept onClick attribute


Actual results:

i could not find onClick attribute documentation...
i tried clicking 'global attributes' which lead to page https://developer.mozilla.org/en-US/docs/HTML/Global_attributes
and i could not find onClick attribute in there as well


Expected results:

i read from stackexchange that there's onClick attribute and then i tried putting onClick attribute on the <body>  html tag and onClick works
but i could not find the documentation for onClick in mozilla documentation
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
Assignee: nobody → jypenator
Component: General → HTML
Priority: -- → P2
Whiteboard: u=webdev p=0
Whiteboard: u=webdev p=0 → u=webdev p=1 c=HTML
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes

It might have been added between then and now, but onclick (and all the other on* attributes) are listed in the Global Attributes page
(Assignee)

Comment 2

3 years ago
Yep, I've added it there.

Closing the bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.