calmchess Posted December 1, 2013 Share Posted December 1, 2013 What tag should I use for text of a webapp for short pieces of text . I want each piece of text to be block elements. I thought I would use span at first but its inline. I have this with span time remaining: 00.00.60 $1.00 but I want this and I want it to be semantically correct. time remaining:00.00.60$1.00 Link to comment https://forums.phpfreaks.com/topic/284427-what-tag-should-i-use/ Share on other sites More sharing options...
calmchess Posted December 1, 2013 Author Share Posted December 1, 2013 It didn't save format when I posted..........I want the last line of above text to be block not inline. Link to comment https://forums.phpfreaks.com/topic/284427-what-tag-should-i-use/#findComment-1460880 Share on other sites More sharing options...
Irate Posted December 1, 2013 Share Posted December 1, 2013 Try using <p> for block-level elements containing short text... that's what <p> (paragraph) is there for, actually. Link to comment https://forums.phpfreaks.com/topic/284427-what-tag-should-i-use/#findComment-1460884 Share on other sites More sharing options...
calmchess Posted December 2, 2013 Author Share Posted December 2, 2013 ok Link to comment https://forums.phpfreaks.com/topic/284427-what-tag-should-i-use/#findComment-1460907 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.