This is a challenge project for the Codecademy "Full-Stack-Engineer Career Path". In this sections I will show the different types of embedding media.
The Art Of Embedding |
||
---|---|---|
Name |
Tag |
Description |
Pictures | <img> |
You can add and embed pictures as following: <img src="this is the source of the pic" alt="this is a description of the pic if it won't load" / >
Please note that this is a self closing tag. Height and width
can be styled either inside of the element or via CSS. The result: |
Videos | <video> |
You can add and embed videos as following:
<video controls width"xxx"> The result: |
Audio | <audio> |
You can add and embed audio as following:
<audio controls> Note that you can add a caption with the <figure> element to make the audio more descriptive. The result: |
Embed | <embed> |
An old and more and more obsolete way of embedding different
kinds of media is by using the <embed> element.
<embed The result: |