What is an alternative to iFrame with HTML5?
The best alternative to is :
: The word iframe is shorthand for inline frame. The HTML syntax allows you to easily embed content within your webpage.
Example :
2. : Most embedded maps come from Google Maps. The problem with this (you’ve probably guessed by now) is that the embed code generated for you is an iframe.
Instead of Google Maps, try Google Maps API that generates a JavaScript code:
: When it comes to video there are more options for embedding than you might think. When adding YouTube videos you still have the choice of using the old embed code option that tells the bots “Hey, there’s a video here”.
How to grab YouTube’s old embed code
- Click Share
- Click Embed
- Tick Use old embed code
- Enter your required width and height, or choose a standard size in the drop down
- Copy the embed code
Example :
Your browser does not support the video tag.
: The HTML or Figure Caption element represents a caption or legend describing the rest of the contents of its parent element.
Example :
Fig.1 - Trulli, Puglia, Italy.
:
Example : Alternative iframe