This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15166 - We now have built-in tags for images, audio, and video: <img src="image.jpg" /> <audio src="audio.mp3" /> <video src="video.mp4" /> This allows us to embed images, audio, and video in webpages without the need of proprietary plugins, such as Adobe Flash.
Summary: We now have built-in tags for images, audio, and video: <img src="image.jpg" ...
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 15:19 UTC by contributor
Modified: 2016-08-19 03:35 UTC (History)
7 users (show)

See Also:


Attachments

Description contributor 2011-12-13 15:19:18 UTC
Specification: http://dev.w3.org/html5/spec/Overview.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
We now have built-in tags for images, audio, and video:

<img src="image.jpg" />
<audio src="audio.mp3" />
<video src="video.mp4" />

This allows us to embed images, audio, and video in webpages without the need
of proprietary plugins, such as Adobe Flash. 

However, there is also the need to embed text documents in webpages as well.
For instance, a new document tag could be defined for this purpose:

<document src="document.pdf" />

This would allow us to embed any document, such as eBooks, user manuals,
research papers, etc., without needing to use plugins such as Adobe Acrobat.
Just as there are many formats for images, audio, and video, there are also
many formats for electronic documents, such as ePub, XPS, PS, TeX, but PDF
(which became open source in 2008) is by far the most popular one. We should
make the document tag an HTML5 standard so that PDF documents can be natively
supported by browsers.

Posted from: 187.18.174.178
User agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
Comment 1 Ian 'Hixie' Hickson 2011-12-14 00:49:03 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: no spec change
Rationale: This is already supported. The element is (for historical reasons) called <iframe>.
Comment 2 Leonard Rosenthol 2011-12-14 07:50:38 UTC
For single page PDFs, you can also use <img> as described in the HTML spec.