Table of Contents

    HTML Button Example


    HTML Button Example

    
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>HTML Button Example</title>
    </head>
    <body>
        <button type="button" id="myButton" class="important-button" data-action="submit-form" onclick="alert('Button clicked!')"> Click me</button>
    </body>
    </html>