78
rated 0 times
[
81]
[
3]
/ answers: 1 / hits: 19087
/ 11 Years ago, thu, november 28, 2013, 12:00:00
i have requirement where i need to display text and button in one box.
i have placed button tag inside span which has text and button
inside span tag
+-------------------+
| text here |
| |
| <button> tag here |
+-------------------+
my question is the right approach having button inside span. as just learned span is inline element and it can have only text, images etc..
What is the difference between HTML tags <div> and <span>?
More From » jquery