HTML CSS examples for HTML Tag:iframe
The height attribute specifies the height of an <iframe>, in pixels.
Value | Description |
---|---|
pixels | The height of the inline frame in pixels (e.g. height="100") |
An <iframe> with a specified height and width of 200 pixels:
<!DOCTYPE html> <html> <body> <iframe src="https://www.java2s.com/style/demo/Opera.png" width="200" height="200"> <p>Your browser does not support iframes.</p> </iframe><!--from w ww .j av a 2s . com--> </body> </html>