728x90
iframe은 웹페이지 안에 또 다른 웹페이지를 삽입할 수 있는 태그입니다.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>iframe</h1>
<iframe src="https://balmostory.tistory.com/" frameborder="0"></iframe>
</body>
</html>
style을 적용할 수 있습니다.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>iframe</h1>
<iframe src="https://balmostory.tistory.com/" frameborder="0" style="width:100%; height:300px; border: 3px"></iframe>
</body>
</html>
728x90
'기타 > html' 카테고리의 다른 글
[HTML] body 태그 (0) | 2020.12.19 |
---|---|
[HTML] html span 태그 (0) | 2020.12.15 |
[HTML] head 태그와 그 안에 들어가는 여러가지 태그들 (0) | 2020.12.13 |
[HTML] div 태그 id class style 사용법 (0) | 2020.12.11 |
[HTML] meta tag 사용법 및 예제 (0) | 2020.12.09 |