[ARCHIVED] Embedding or displaying .xhtml page in Canvas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to post an xhtml file to my course page, but when I upload it I don't get a preview of it, and no matter how I try embedding it (iframe, etc) I always get the page downloaded back to the computer and not displayed on a Canvas page. Is it possible to diplay within Canvas?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Andrew,
For context, XHTML (HTML written in XML) was the preferred standard for web pages -- before HTML 5. XHTML web pages typically just use the extension .htm or .html -- the same as regular HTML web pages.
If you actually use .xhtml as the file extension, web browsers may misinterpret what the file is meant to be (application/xhtml+xml as opposed to text/html).
If you use .html on your XHTML files, your browser will render them properly when uploaded into a Canvas course's Files area.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.