+ 2
Can anyone tell me that how to put text in a rectangle?
Please tell me that how to put a text in a rectangle. Its very important as i am coding a wonderful u.i design for my practice. Thanks
3 odpowiedzi
+ 3
<div style="border:2px solid green;text-align:center;padding:1em 0;">framed text</div>
+ 3
Please link your attempt here and describe where you want put the text.
When you have a p tag with a text and a background color then it is a text in rectangle as you expected.
+ 1
Please add-show your attempt so the community can help you more easily :)
Btw just use a div or a paragraph, and add a border or a background, then task done! :)