

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
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
How to create an inline frame using the <iframe> tag inside an HTML page?
The <iframe> tag is used to specify an inline frame. Inline frame embed another document inside the current document. It’s quite easy to create an inline frame.
The <iframe> tag has the following attributes −
Attribute | Description |
---|---|
height | The height of an <iframe> in pixels. |
name | The name of an <iframe>. |
src | The URL of the document to embed. |
with | The width of an <iframe> in pixels. |
Example
You can try to run the following code to create an inline frame in HTML
<!DOCTYPE html> <html> <head> <title>HTML iframe Tag</title> </head> <body> <iframe src="https://www.qries.com" width="100%"> </iframe> </body> </html>
- Related Questions & Answers
- HTML <frame> Tag
- How to include inline JavaScript inside an HTML page?
- How to use the <style> tag to define style information for an HTML page?
- How to use the <base> tag to define the base URL for an HTML page?
- HTML <html> Tag
- How to load external website into an <iframe> using jQuery?
- How to specify the HTML content of the page to show in the <iframe> in HTML?
- HTML <code> Tag
- HTML <datalist> Tag
- HTML <dd> Tag
- HTML <del> Tag
- HTML <head> Tag
- HTML <hgroup> Tag
- HTML <hr> Tag
- HTML <i> Tag
Advertisements