본문 바로가기

Python_WEB/HTML

[Ch3]HTML5 멀티미디어와 입력 양식 - 연습문제 2

반응형

Q>

<iframe>과 <ul> 태그를 이용해 HTML 소스를 작성하시오.

 

A>

<!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>
    <iframe src="https://developer-ankiwoong.tistory.com/" style="width:100%; height:400px;"
        name="frame_target"></iframe>
    <ul>
        <li><a href="https://www.naver.com" target="frame_target">네이버</a></li>
        <li><a href="https://www.daum.net" target="frame_target">다음</a></li>
        <li><a href="https://www.nate.com" target="frame_target">네이트</a></li>
    </ul>
</body>

</html>

 

https://developer.mozilla.org/ko/docs/Web/HTML/Element/iframe

 

HTML iframe 요소는 중첩 브라우징 맥락을 나타내는 요소로, 현재 문서 안에 다른 HTML 페이지를 삽입합니다.

developer.mozilla.org

 

R>

 

HTML5 + CSS3 + JavaScript로 배우는 웹프로그래밍 기초
국내도서
저자 : 천인국
출판 : 인피니티북스 2013.12.19
상세보기
반응형