Home >Web Front-end >HTML Tutorial >What exactly is iframe_html/css_WEB-ITnose
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>
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
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 d5ba1642137c3f32f4f4493ae923989c tag.
Tip: You can place the required text between d5ba1642137c3f32f4f4493ae923989c and 065276f04003e4622c4fe6b64f465b88 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
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 e388a4556c0f65e1904146cc1a846bee tag is replaced. If the browser does not support the e388a4556c0f65e1904146cc1a846bee tag, it will be exposed