Computer Science, asked by Kkhush818, 1 month ago

Create the following frame in html. Note: When the CYBERTHREAT is clicked an image of
a computer virus should be displayed in the empty frame

Answers

Answered by wehero14
1

Answer:

Note: When the CYBERTHREAT is clicked an image of

a computer virus should be displayed in the empty frame to make this happen we use target attribute.

iframe crates a frame in html document.

Html Elements needed

  1. target attribute
  2. Iframe element
  3. anchor element

Explanation:

<iframe src="index.html" name="myFrame"></iframe>

<p><a href="computer virus.png" target="myFrame">CYBERTHREAT</a></p>

Similar questions