frameborder
To create border around iframe use frameborder attribute.
Frame border accepts value in number, if frame border number size increase like 1 to 2 border size also increase. You can create border according to your choice.
Example:
<iframe src="https://xyz.com" width="100px" height="100px" sandbox="allow-forms" frameborder=”3”></iframe>
Last updated