html - What is the advantage of using .btn class inside a <div> vs inside a <button>? -


i have code that's loosely based on css of bootstrap. 1 thing did different placed .btn class inside button. seems there many times when spacing different , cannot work out why.

can give me advice here. nono place .btn inside <button> element instead of <div> when using of standard css bootstrap?

my guess permits visually customize more element when using div (or a tag) when using button tag since button tag has more associated attributes.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -