当前位置:网站首页>[JS] embedded iframe page usage
[JS] embedded iframe page usage
2022-07-30 03:03:00 【A falling star】
Article table of contents
Basic usage
- The basic usage is:
<style type="text/css"> /* It is recommended to use css to set the style of the iframe, because setting the height to 100% will fail, and thenTo use vh units, but iframe tags do not support, css can.*/ .css{ width: 100%; height: 100vh; /* 100% height of the viewport*/ border: 0; /* remove his own border, otherwise it will feel inconsistent*/ } style><iframe src="https://www.baidu.com" class="css" >iframe> - Common property settings:
| Properties | Property value | Description |
|---|---|---|
| name | string | Name of the frame, a property specific to window.frames[name] |
| src | url address or file path | can be a page address or an image address. |
边栏推荐
- Redis(十) - Redission原理与实践
- 机器学习1一回归模型(一)
- First acquaintance with the web
- Detailed explanation of carousel picture 2 - carousel pictures through left positioning
- 超详细的MySQL三万字总结
- HCIP 第十五天
- JUC(四):简记线程的五/六种状态
- 雪花是否一样问题
- Not enough information to list load addresses in the image map.(STM32编译报错)
- Hacker News Broadcast | A fake offer steals $625 million
猜你喜欢

【服务器存储数据恢复】华为OceanStor某型号存储raid5数据恢复案例

记录NLP各种资源网址

【科研工具的使用】A

A plastic bottle of ocean "fantasy drifting"

Simple Operations on Sequence

nrm ls 为什么前面不带 *了

Dell's first pure soft product redefines next-generation object storage

JUC(六):synchronized

VLAN 实验

JS history.back() go(-1) Location 跳转 重新加载页面 get请求 返回顶部 bom
随机推荐
黑客动态播报 | 一封假offer,盗取6.25亿美元
最重要的传输层
应用在光伏逆变器中的IGBT晶圆
【服务器存储数据恢复】华为OceanStor某型号存储raid5数据恢复案例
Mysql中事务是什么?有什么用?
解决谷歌浏览器跨域问题has been blocked by CORS policy: The request client is not a secure context and the resou
QT based on the third day (3) widget, dialog and mainwindow
记录NLP各种资源网址
CF1473C No More Inversions
The relationship between the number of Oracle processes and the number of sessions
解决导航栏变黑色
自动配置和 thymeleaf模板引擎
零代码工具推荐---HiFlow
【科研工具的使用】A
VMware disk expansion record
计算机复试面试题总结
One book 1922 - table tennis
leetcode 5 questions a day-Day01
测试人员,除了测试还得会点什么
每日优鲜生死劫:被曝清退大部分员工 仍未递交年报(附音频)