Answers for "page border html"

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
0

border in html

The CSS border property defines a border around an HTML element.
Use of CSS border property: 
p {
  border: 2px solid powderblue;
}
Posted by: Guest on September-20-2021

Browse Popular Code Answers by Language