Home  >  Article  >  Web Front-end  >  html inline frame

html inline frame

无忌哥哥
无忌哥哥Original
2018-06-29 10:31:332661browse

Inline frame

You can open an independent small window in the current page to open another website. The url is set by the src attribute.

The name attribute is very important, mainly for 3499910bf9dac5ae3c52d5ede7383485 The target attribute of the tag is called

<iframe src="http://www.jd.com" name="firame"></iframe>

ifream: inline frame, the most important attributes are name, width and height

<iframe src="http://www.jd.com" name="iframe" width="500" height="300">浏览器不支持框架</iframe>

seamless: remove the border and floating bar

<iframe src="http://www.jd.com" name="iframe" width="500" height="300" seamless>浏览器不支持框架</iframe>

if Seamless is invalid, you can use borderframe to set it

<iframe src="http://www.jd.com" name="iframe" width="500" height="290" frameborder="0">浏览器不支持框架</iframe>

Set the top, bottom and left and right margins: marginheight and marginwidth

<iframe src="http://www.jd.com" name="iframe" width="500" height="290" frameborder="0" marginheight="300" marginwidth="500">浏览器不支持框架</iframe>

The above is the detailed content of html inline frame. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Create login form in htmlNext article:Create login form in html