HTML Setting the Frame Size


Example

The IFrame can be resized using the width and height attributes, where the values are represented in pixels (HTML 4.01 allowed percentage values, but HTML 5 only allows values in CSS pixels).

<iframe src="base.html" width="800" height="600"></iframe>