Android Question Embeddin iframe in webview

mkvidyashankar

Active Member
Licensed User
Longtime User
I am trying to embed iframe in webview
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</head>
<body>
<ul>
  <li>
    <p><span style="font-family: Helvetica,Arial,sans-serif;">Aphids</span></p>
  </li>
  <li>
    <p><span style="font-family: Helvetica,Arial,sans-serif;">Flea
Beetles</span></p>
  </li>
  <li>
    <p><span style="font-family: Helvetica,Arial,sans-serif;">Cucumber
Mosaic Virus</span></p>
  </li>
  <li>
    <p><span style="font-family: Helvetica,Arial,sans-serif;">Blossom
End Rot appears as a soft, sunken area which turns darker in color.</span></p>
  </li>
  <li>
    <p><span style="font-family: Helvetica,Arial,sans-serif;">Pollination
can be reduced in temperatures below 60F and above 90F.</span></p>
  </li>
  <li>
    <p><span style="font-family: Helvetica,Arial,sans-serif;">Too
much nitrogen will reduce fruit from setting.</span></p>
  </li>
</ul>
<iframe src="http://www.amazon.in" width="100%"></iframe>
</body>
</html>

i am getting frame but webpage is not displayed within iframe, the phone is connected to the internet
any error in the code? pls help
 
Top