Answers for "how to add text in borders using basic html elements"

CSS
0

BORDERS WITH TEXT IN IT

<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
0

how to write text on div border in html

<form>
<fieldset>
  <legend>Enter the details below</legend>
  <!--Inputs or anything-->
</fieldset>
</form>
Posted by: Guest on September-23-2021

Code answers related to "how to add text in borders using basic html elements"

Browse Popular Code Answers by Language