Validating Embedded Google Maps

I wanted a Google map on my website, so followed the simple instructions and pasted the code to embed the map. The code works, but does not validate because the Google code uses iframes but for valid XHTML 1.0 Strict, object tags should be used. These links will help:
Code example is here. Explanation and attributes are here.

Julie

References

Embedding Google Maps: iframe to object with XHTML Strict | Lab Notes. 2012. Embedding Google Maps: iframe to object with XHTML Strict | Lab Notes, viewed 26 May 2012, <http://blog.poplabs.com/2009/08/embedding-google-maps-iframe-to-object-with-xhtml-strict/>.

OBJECT – Embedded Object. 2012. OBJECT – Embedded Object, viewed 26 May 2012, <http://htmlhelp.com/reference/html40/special/object.html>.

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: