+ 1

In html what is the role of <span> and rowspan

21st Jun 2020, 12:25 PM
Shreya Sonkar
Shreya Sonkar - avatar
2 ответов
+ 4
Shreya Simple difference is span is a inline tag and rowspan is a attribute of table cell which use to merge 2 or more rows.
21st Jun 2020, 2:21 PM
A͢J
A͢J - avatar
+ 1
The rowspan attribute in HTML specifies the number of rows a cell should span. https://www.geeksforgeeks.org/html-rowspan-attribute/ The span element is a generic inline container for inline elements and content. https://www.geeksforgeeks.org/span-tag-html/ Thanks for your question and happy coding.
21st Jun 2020, 2:27 PM
James Clark I. Vinarao
James Clark I. Vinarao - avatar