I'm looking to embed a Google sheet into a Google Chrome extension. My code is as follows:
<html>
<iframe
src="https://docs.google.com/spreadsheets/d/e/2PACX-1vQhhQM1ag9M_exkDEV8omFWuI5-4tRizOZ5pl0ZzxpAEJ3rHfWzWilEzjgV4jwpyEj2aaTUkfQx6DRK/pubhtml?gid=1478993491&single=true&widget=true&headers=false"
</iframe>
<p>Hello, World!</p>
</html>
For some reason, "Hello, World!" not only doesn't show up visually (https://imgur.com/YlxZ3uz), but isn't there when I inspect elements (https://imgur.com/IEoTAnN). What is going on? How can I fix it?
Thank you for your help!
You didn't close the opening tag with the >
sign. This should work
<html>
<iframe
src="https://docs.google.com/spreadsheets/d/e/2PACX-1vQhhQM1ag9M_exkDEV8omFWuI5-4tRizOZ5pl0ZzxpAEJ3rHfWzWilEzjgV4jwpyEj2aaTUkfQx6DRK/pubhtml?gid=1478993491&single=true&widget=true&headers=false">
</iframe>
<p>Hello, World!</p>
</html>
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments