© Mark J. Collins 2017

Mark J.  Collins, Pro HTML5 with CSS, JavaScript, and Multimedia, 10.1007/978-1-4842-2463-2_7

7. Embedded HTML Elements

Mark J. Collins

(1)Chesterfield, Virginia, USA

In this chapter I’ll demonstrate the embedded elements that are available in an HTML5 document. The content I have examined so far, which is mostly text, was provided in the HTML document. However, with embedded elements, the content is provided by an external file such as an image or a video clip. The HTML document provides a reference to that file through one of the embedded elements. I will first demonstrate the anchor element that is used to provide a hyperlink to other resources. Then I’ll explain the three most common embedded elements: images (img),

Get Pro HTML5 with CSS, JavaScript, and Multimedia: Complete Website Development and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.