- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- 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 specify the URL of the resource to be used by the object in HTML?
Use the data attribute in HTML to specify the URL of the resource to be used by the object in HTML.
Example
You can try to run the following code to implement the data attribute −
<!DOCTYPE html> <html> <body> <h2>Demonstration</h2> <object width = "250" height = "300" data = "demo.swf"> </object> </body> </html>
Advertisements