+ 1

how do i set a frame in HTML5?

i am confused about how to set a frame in my HTML code, can you help me?

27th May 2020, 5:50 PM
Georgie Abbey
Georgie Abbey - avatar
2 ответов
+ 1
First of all we can definition a iframe tag as a window inside the main html file.... After write <iframe name= 'frameName'><\iframe> Now you need a < a> tag with his href and makes the value of target attribute equal to your frame name like this.... <iframe name= 'frameName'><\iframe> <a href = 'www.google.com' target='frameName'>Google Link<\a> After you click on Google Link the google website will displays in iframe.. And You can customize the iframe by css like width, height, shadow, border , etc Hope this helps you
27th May 2020, 6:28 PM
Raven
Raven - avatar