前幾天裝了 XML-Google Maps Plugin,預設會輸出 iframe 來內嵌 Google Maps,只是 XHTML 1.0 Strict 已經不支援 iframe 這個標籤,所以改用下列方式替代:

原來的用法:

<iframe id="embeddedhtml" src ="http://www.ashcombe.surrey.sch.uk/MM_french/1a_self_family/self_family_fset.htm" width="100%" height="600"></iframe>

改成:

<object id="embeddedhtml" type="text/html" data="http://www.ashcombe.surrey.sch.uk/MM_french/1a_self_family/self_family_fset.htm" width="100%" height="600"></object>>

參考來源:[#MDL-17702] iframe is not supported in XHTML 1.0 Strict – Moodle Tracker