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
Post a Comment