我试图在我的网页上放置Google地图,但以下代码对我不起作用
我哪里出错了,请纠正这个
<iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src=
"https://www.google.co.in/maps/place/Vaikunthlal+Mehta+Rd,+Nehru+Nagar,+Airport+Area,+Juhu/@19.1040931,72.8403963,16z/data=!4m2!3m1!1s0x3be7c9bf5aae1367:0xd0b948b462f60df5?hl=en">
</iframe>
<br />
<small>View <a href="https://goo.gl/maps/Tns6b"> </div>
答案 0 :(得分:0)
试试这个。
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.co.in/maps?t=m&q=Vaikunthlal+Mehta+Rd,+Nehru+Nagar,+Airport+Area,+Juhu&ie=UTF8&hq=&hnear=Vaikunthlal+Mehta+Rd,+Nehru+Nagar,+Airport+Area,+Juhu,+Mumbai,+Mumbai+Suburban,+Maharashtra&z=14&ll=19.104093,72.840396&output=embed"></iframe><br /><small><a href="https://www.google.co.in/maps?t=m&q=Vaikunthlal+Mehta+Rd,+Nehru+Nagar,+Airport+Area,+Juhu&ie=UTF8&hq=&hnear=Vaikunthlal+Mehta+Rd,+Nehru+Nagar,+Airport+Area,+Juhu,+Mumbai,+Mumbai+Suburban,+Maharashtra&z=14&ll=19.104093,72.840396&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
你没有关闭一个标签(小)和一些小修复。希望现在可以使用