Home
HTML
HTML Iframes
Tryit: red iframe border
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h2>Custom Iframe Border</h2> <p>With CSS, you can also change the size, style and color of the iframe's border:</p> <iframe src="demo_iframe.htm" style="border:2px solid red;" title="Iframe Example"></iframe> </body> </html>