KnowledgeBoat Logo

Computer Applications

Which are the ways to add a video file in a web page ?

  1. Linking via <A>
  2. Embedding via <EMBED>
  3. Embedding via <VIDEO>
  4. All of these

HTML Advanced Features

3 Likes

Answer

All of these

Reason — We can add a video file in a web page using different tags in the following ways:

1. Using anchor tag <A>

<A HREF = "WORDS.MP4"> Click here to play video </A>

2. Using <EMBED> tag

<EMBED SRC = "WORDS.MP4" WIDTH = "100" HEIGHT = "50" AUTOSTART = "TRUE" LOOP = "FALSE">

3. Using <VIDEO> tag

<VIDEO SRC = "WORDS.MP4" TYPE = "VIDEO/MP4"> Video cannot be played </VIDEO>

Answered By

3 Likes


Related Questions