HTML ???
HTML ???
???? ???? ??? ???? ?? ? ??? ??? ??? ? ????. iframe ??
:<iframe src= "URL"> </iframe>? URL? ?? ????? ?????. ?? HTML ??? ??? ?? ????.
Iframe - ?? ? ?? ??height ? width ??? iframe ??? ??? ??? ???? ? ?????.
??? ????? ?? ????? ????? ????? ??? ? ????(?: "80%").
????
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文網(wǎng)(php.cn)</title> </head> <body> <iframe src="second.html" width="400" height="200"></iframe> <iframe src="http://ask.php.cn/" width="400" height="200"></iframe> <p>一些舊的瀏覽器不支持 iframe。</p> <p>如果瀏覽器不支持 iframes 則不會(huì)顯示。</p> </body> </html>
Iframe - ??? ??
frameborder ??? iframe? ??? ?? ??? ????? ??? ???? ? ?????. iframe? ???? ????? ?? ?? "0"?? ?????.
?<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>php中文網(wǎng)(php.cn)</title>
</head>
<body>
<iframe src="http://ipnx.cn/" width="200" height="200" frameborder="0">
<p>您的瀏覽器不支持 iframe 標(biāo)簽。</p>
</iframe>
</body>
</html>
?? ? ????? ?? ????? ??? ???
iframe? ???? ???? ?? ??? ??
iframe? ?? ?? ???? ??? ? ????
?? ??? ??? ??? ?? iframe? ??? ???? ???. ?? ?:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文網(wǎng)(php.cn)</title> </head> <body> <iframe src="http://ipnx.cn" name="iframe_a"></iframe> <p><a href="http://ipnx.cn" target="iframe_a">php.cn</a></p> </body> </html>
????? ???? ???? ?????
HTML iframe ??
?? | ?? | ||||
<iframe> | ??? iframe ?? |