<!DOCTYPE html> <html lang="en"> <head> <title>Specify width and height attributes and CSS</title> </head> <body> <p>Specify the width and height of an iframe using attributes</p> <iframe src="examples/resources/sample.htm" height="160" width="280" title="A sample page"></iframe> <p>Specify the width and height of an iframe using CSS style</p> <iframe src="https://www.simmanchith.com" style="height:160px; width:280px;" title="Simmanchith Homepage"></iframe> </body> </html>