源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> </head> <body> <iframe src="tryhtml5_input_dirname.html" width="200" height="200"> <p>你的浏览器不支持iframes.</p> </iframe> </body> </html>
运行结果