Home / Programming MCQs / HTML MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. What is the correct syntax for <iframe> tag?

(A) <iframe href="url" title="description"></iframe>
(B) <iframe link="url" title="description"></iframe>
(C) <iframe src="url" title="description"></iframe>
(D) All of the above
Explanation by: Jatin Dubey
<iframe src="/default.html" width="100%" height="300" style="border:1px solid black;">
</iframe>

<iframe src="/default.html" width="100%" height="300" style="border:none;">
</iframe>

You must be Logged in to update hint/solution

Discusssion

Login to discuss.