Copyright © tutorialspoint.com
The outline-width property defines the width of the outline around an element.
All the HTML elements
object.style.outlineWidth="thin"; |
Here is the example:
<p style="outline-width:thin; outline-style:solid;"> This text is having thin outline. </p> <br /> <p style="outline-width:thick; outline-style:solid;"> This text is having thick outline. </p> <br /> <p style="outline-width:5px; outline-style:solid;"> This text is having 5x outline. </p> |
This will produce following result:
This text is having thin outline. This text is having thick outline. This text is having 5x outline. |
To Become more comfortable - Do Online Practice
Copyright © tutorialspoint.com