Embedding HTML code
-
I have a 1.7 MB HTML file (of an interactive map) that I would like to include on my WordPress website. I have tried copying and pasting the html code into a page on my website, but this has not worked. How should I go about including this map ? My site currently has a free plan.
WP.com: Yes
Correct account: YesThe blog I need help with is: (visible only to logged in users)
-
Hello there,
HTML code can be inserted in the Custom HTML block.
You might find this article useful:https://wordpress.com/support/wordpress-editor/blocks/custom-html-blockI just wanted to let you know that certain HTML tags are not allowed on free WordPress.com websites due to security concerns.
You can find more details here:
https://wordpress.com/support/code/#html-tagsHope this helps! :)
-
Thank you for your help.
I have the Personal plan now (the HTML file contained tags not allowed on the free plan), but have still been unsuccessful. Copying and pasting the HTML code into a custom HTML block not only fails to work, but prevents the other blocks on the page from loading.
I have also tried:
<iframe> srcdoc=https://raw.githubusercontent.com/ABMvanHelsdingen/Maps/main/ukconswob.html </iframe>without success.
I would be very grateful for any assistance.
I was -
Hello there,
Could you please let us know what code you are trying to paste, so we can take a look at that?
:)
-
You can view it at: https://raw.githubusercontent.com/ABMvanHelsdingen/Maps/main/ukconswob.html
I have viewed it in Chrome on my own computer and it displays correctly.
- The topic ‘Embedding HTML code’ is closed to new replies.