Results 1 to 3 of 3

Thread: What Is Onclick In HTML?

  1. #1

  2. #2
    Join Date
    Jun 2013
    Location
    Forum
    Posts
    2,096

    Default

    The onclick attribute is an event attribute supported by all browsers. It appears when a user clicks on a button element. If you want to make a button onclick, you need to add the onclick event attribute to the <button> element. The button onclick runs a script when a button is clicked.
    Cheap VPS Hosting | $1 VPS Hosting
    Windows VPS Hosting | Windows with Remote Desktop Access
    Cheap Dedicated Servers | Linux Dedicated Server Hosting

  3. #3
    Join Date
    Jul 2019
    Posts
    264

    Default

    The onClick attribute is an event handler that instructs the browser to run a script when the visitor clicks a button.

Similar Threads

  1. What is HTML?
    By StuartSpindlow1 in forum Web Design Solutions
    Replies: 11
    Last Post: 03-04-2020, 09:45 AM
  2. How do HTML use ?
    By intelmobi12 in forum Web Design Solutions
    Replies: 20
    Last Post: 12-20-2019, 10:13 AM
  3. html 5
    By randiv in forum Web Hosting Solutions
    Replies: 3
    Last Post: 12-07-2017, 08:28 AM
  4. What is HTML?
    By riprook7 in forum Web Design Solutions
    Replies: 30
    Last Post: 04-18-2016, 12:08 PM
  5. What is HTML?
    By stuartspindlow in forum Web Design Solutions
    Replies: 19
    Last Post: 11-19-2015, 11:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •