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 Quote 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. Quote 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. Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.