Home > Web Front-end > HTML Tutorial > What exactly is iframe_html/css_WEB-ITnose

What exactly is iframe_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:02:22
Original
1267 people have browsed it

Why is the p tag in the iframe in the code below not displayed on the web page?

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">  <head>    <title>Using an iframe</title>  </head>  <body style="background-color:#CCCCCC">     <h1 style="text-align:center">Inline Frame Example</h1>	 <div style="text-align:center">	    <iframe src ="iframe_src.html" style="width:500px;height:100px;border:1px solid black;background-color:#FFFFFF">	    <p>Uh oh...your browser does not support iframes.</p>	 </iframe>  </body></html>
Copy after login


Reply to discussion (solution)

iframe is to connect to other web pages.

Look at the example here: iframe

iframe is to connect to other web pages.

Look at the example here: iframe


I despise you. You don’t even want to take the time to read what the question is about. You still have the nerve to reply to other people’s posts. You still need to do this. Say it
Bitch!

Although it sounds hard to say, this is indeed my fault for not looking at the whole issue seriously. Sorry for you here!

Did you read the link I posted carefully?
There are a few sentences in it:

All browsers support the so that you can deal with browsers that cannot understand iframe.

Uh oh...your browser does not support iframes.
Uh oh...your browser does not support iFrames.

I think you made it clear in your code yourself

Uh oh...your browser does not support iframes.
Oh...your browser IFrames are not supported.

I think you have written it very clearly in the code yourself


This is someone else’s code, I don’t know how to do it, I wonder if I can ask

You can think of it as ifream A link method that can refresh the current web page, and only refresh a certain part of your current web page, which is the part specified by iframe.

Because your browser supports Ifream, the

tag is replaced. If the browser does not support the

tag, it will be exposed

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