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: Aron Bergman <bathingrad@gmail.com>
Date: Tue, 17 Apr 2018 18:13:29 +0200
Message-ID: <CALdbZh8PL+r9GB21+LR6iADrLemaXrWGdOmcu0ToA9eai3mYaw@mail.gmail.com>
To: Jim Derry <balthisar@gmail.com>
Cc: Internet LifeHacks <nathashakck@gmail.com>, html-tidy@w3.org
Oh, I forgot that the mails are archived and thus indexable.
That explains why they add the URL...
Thanks for clearing that up for me :)

Vänliga hälsningar

Best regards


Aron Bergman

bathingrad@gmail.com

+46 70-325 00 89

Bäling 150

820 77 Gnarp



2018-04-16 16:13 GMT+02:00 Jim Derry <balthisar@gmail.com>:

> 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 Tuesday, 17 April 2018 16:13:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 17 April 2018 16:14:00 UTC