Answers for "how to give border around text in css"

14

text border css

h1 {
  -webkit-text-stroke: 1px black;
}
Posted by: Guest on April-08-2020
0

how to add a border around text in html

<p style="border:3px; border-style:solid; border-color:#FF0000; padding: 1em;">
  First example with text surrounded by a red border.<br>This example also has multiple lines.
</p>
Posted by: Guest on July-19-2020

Code answers related to "how to give border around text in css"

Browse Popular Code Answers by Language