Re: What is the difference between <input type="button" /> and <button></button>

2018-04-02 18:05 GMT+02:00 Internet LifeHacks <nathashakck@gmail.com>:

> Hi All
>
> When i am coding with HTML, When a button is required based on my mood i
> choose between  <input type="button" /> or <button></button> . I am yet to
> find a reason to not use of one to another or at least a best practice of
> using which one. So I would like to know from you all , which one you are
> using and why ?
>
> Also if possible please anyone explain what situation to use which one of
> these and whether there is a possible performance hit dependencies and all.
>
> Thanks & Regards
> Nathasha
> http://bestfragranceformen.com
>

Hi,
I don't think that this mailing list is supposed to answer questions about
HTML in general, Google is your friend regarding these kinds of questions.
Searching for html type=button vs button
<https://www.google.com/search?q=html+type%3Dbutton+vs+button> returned this
StackOverflow answer
<https://stackoverflow.com/questions/25436145/input-type-button-vs-button>.

Regards
Aron

Received on Monday, 16 April 2018 14:04:55 UTC