Alternatives To HTML5 Iframe Srcdoc? - Tutorialspoint
Có thể bạn quan tâm
- Home
- Whiteboard
- Online Compilers
- Practice
- Articles
- AI Assistant
- Jobs
- Tools
- Corporate Training
- Courses
- Certifications
- Switch theme
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
The HTML <iframe> tag is used to create an inline frame.
Example
<!DOCTYPE html> <html> <head> <title>HTML iframe Tag</title> </head> <body> <iframe src = "https://www.tutorialspoint.com/index.htm" width = "100%"></iframe> </body> </html>The srcdoc attribute specifies the HTML content of the page to show in the iframe
An alternative of the srcdoc attribute will be −
var doc = document.querySelector('#demo').contentWindow.document; var content = '<html></html>'; doc.open('text/html', 'replace'); doc.write(content); doc.close();
George John Updated on: 2020-06-25T07:44:29+05:30 597 Views
Kickstart Your Career
Get certified by completing the course
Get StartedTừ khóa » Html5 Alternative To Iframe
-
Alternatives Of Iframe In HTML - Delft Stack
-
Alternative To IFrames With HTML5 - Stack Overflow
-
Alternative To IFrames In HTML5 - GeeksforGeeks
-
What Is An Alternative To IFrame With HTML5? - Quora
-
From Object To Iframe — Other Embedding Technologies
-
4 Iframe Alternatives For Better Content Optimisation - Return
-
Alternative Way For Iframe In Html 5 - CodeProject
-
Alternatives To IFrame Tag In HTML? - QA With Experts
-
HTML Iframe Tag - W3Schools
-
Alternative For Frames In Html5 Using Iframes
-
Is Their Any Alternative To HTML5 Iframe Srcdoc? - Tutorialspoint
-
Alternative To Iframe For External Website
-
Alternative To Iframes With Html5 - ADocLib
-
Javascript – Alternative To Iframe - ITecNote