0

As is written in the question <button> vs. <input type="button" />. Which to use? I use:

"<input class.." 

insted of:

"<button.."

I do it because I do not send anything through the button. Issue is I got underlined text like:

enter image description here

How to "delete" a red line?

Tomasz Waszczyk
  • 2,680
  • 5
  • 35
  • 73

1 Answers1

3

That's the spellcheck error, you can turn it off by adding 'spellcheck="false"' to your input, i.e:

"<input class='blah' spellcheck='false'.. >" 
Shtut
  • 1,397
  • 2
  • 14
  • 28