W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2018

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

From: Jim Derry <balthisar@gmail.com>
Date: Mon, 16 Apr 2018 10:13:44 -0400
Message-ID: <CABUm+Bd+AzLHDP-+-cDhjRpkVOURGXgOgsS48nQ9QcY5wONT2A@mail.gmail.com>
To: Aron Bergman <bathingrad@gmail.com>
Cc: Internet LifeHacks <nathashakck@gmail.com>, html-tidy@w3.org
These are just spammers trying to get their crappy websites indexed.

On Mon, Apr 16, 2018 at 8:07 AM, Aron Bergman <bathingrad@gmail.com> wrote:

> 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
>



-- 
---
Jim Derry
Clinton Township, MI, USA
Nanjing, Jiangsu, China PRC
Received on Monday, 16 April 2018 14:14:11 UTC

This archive was generated by hypermail 2.3.1 : Monday, 16 April 2018 14:14:18 UTC