The HTML | data Attribute is used to specify the URL of the Embedded file of the Object. It can be used with the <object> element.
Attribute Values: It contains single value URL which is used to specify the source of the object.
The possible value of URL are:
- absolute URL: It points to another website.
- relative URL: It points to a file within a website.
Example: This Example illustrates the use of the data Attribute.
Supported Browsers: The browser supported by HTML data Attribute are listed below:
- Google Chrome
- Edge 12 and above
- Firefox 1 and above
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses
are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!