How to use html iframe tag

藏色散人
Release: 2019-05-28 09:34:59
Original
3734 people have browsed it

html The iframe tag is used to create an inline frame (i.e. inline frame) that contains another document. You can place the required text between , so that you can deal with incomprehensible situations. iframe browser.

How to use html iframe tag

#html How to use iframe tag?

Function: Creates an inline frame (i.e. inline frame) containing another document.

Note: You can place the required text between so that you can deal with browsers that cannot understand iframe.

Note: In HTML 4.1 Strict DTD and XHTML 1.0 Strict DTD, iframe elements are not supported.

html iframe tag usage example

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<iframe src="http://www.baidu.com" frameborder="0" width="100%" height="300px"></iframe>
</body>
</html>
Copy after login

The above is the detailed content of How to use html iframe tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template