Home >Web Front-end >HTML Tutorial >marginwidth property usage
The usage of the marginwidth attribute is to specify the left and right margins of the iframe, in pixels.
<iframemarginwidth="value">Attribute valueThe following table lists the attribute values of the marginwidth attribute in HTML: Value: pixelsDescription: Specifies the left and right margins of the iframe, in pixels.
Example
iframe with 50 pixel left and right margins:<iframesrc="/index.html"marginwidth="50px"><p>Yourbrowserdoesnotsupportiframes.</p></iframe>
The above is the detailed content of marginwidth property usage. For more information, please follow other related articles on the PHP Chinese website!