Advertisement
Home Open Editor ❯

HTML onmouseup event Attribute

Example

<p onmouseup="myFunction()">Click me!</p>

Try this code ❯

Meaning

The onmouseup attribute specifies the script run when a mouse button is released over an element.


Standard Syntax

<element onmouseup="script">


Advertisement

Attribute Values

Value Description
script Specifies the script to be run on onmouseup

Technical Details

Supported HTML elements:

All HTML elements, EXCEPT: <base>, <bdo>, <br>, <head>, <html>, <iframe>, <meta>, <param>, <script>, <style>, and <title>
Home Open Editor ❯
Advertisement