Computer Science, asked by newtonmedhi281003, 8 months ago

what is the use of the height and width attributes of the <iframe>tag?​

Answers

Answered by hemanth101
1

Answer:

Setting Height and Width in Iframe :

The height and width attributes are used to specify the size of the iframe. The attribute values are specified in pixels by default, but they can also be specified in percentage like ” 80% “.

Answered by KumarDeepakNaik
1

Answer:

Height and Width attributes in the iframe tag define it's dimension, in simple it define the size of iframe.

The <iframe> tag defines a rectangular region within the document in which the browser can display a separate document, including scrollbars and borders.

Example :

<iframe src="document-path.html" width="100%" height="300px">

</iframe>

Similar questions