HTML: MEDIA TAGS

In the previous section, we reviewed the simplest and most frequently used tags: <h1>, <h2>...<h6>, <p>, <a>, <img>

In this section, we add to this list by including iframes, audio files, videos, lists, and tables. Below we provide a description of each element, as well as the tags, attributes, and values that generate them. Each element also has a corresponding code sample that you can continue exploring on your own.

IFrames

Sample code to make an IFrame (to embed another web page).

Other Websites

Note: This page blocks IFrames, so you'll have to view this code in CodePen.io

See the Pen by vanwars (@vanwars) on CodePen.

Spotify

See the Pen by vanwars (@vanwars) on CodePen.

Vimeo & YouTube

See the Pen by vanwars (@vanwars) on CodePen.

Audio

Sample code to embed an audio file (new in HTML5):

See the Pen by vanwars (@vanwars) on CodePen.

Video

Sample code to embed a video file (new in HTML5):

See the Pen by vanwars (@vanwars) on CodePen.

results matching ""

    No results matching ""