minor
This commit is contained in:
parent
de725bd171
commit
217eb0e5fa
2 changed files with 6 additions and 4 deletions
|
@ -5,7 +5,7 @@ Let's start with an example.
|
|||
This handler is assigned to `<div>`, but also runs if you click any nested tag like `<em>` or `<code>`:
|
||||
|
||||
```html autorun height=60
|
||||
<div onclick="alert('The handler !')">
|
||||
<div onclick="alert('The handler!')">
|
||||
<em>If you click on <code>EM</code>, the handler on <code>DIV</code> runs.</em>
|
||||
</div>
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue