Kumpulan Informasi Loker dan Kuliah di Indonesia

Saturday, April 11, 2015

Cara Membuat Link Untuk Keluar dari Frame Dalam Halaman Web Dengan HTML

11:14:00 PM Posted by Abdul Rohman 4 comments
Dibawah ini contoh link untuk keluar dari suatu frame jika website Anda dikunci pada suatu frame.

Contoh:

<html>
<head>
<title>Contoh keluar dari suatu frame</title>
</head>
<body bgcolor="cyan">
<a href="http://www.grupkuliah.com/" target="_top">Klik disini<a/>
<p>
top digunakan untuk keluar dari suatu frame
</p>
</body>
</html>

Hasilnya:


4 comments:

  1. A very practical web development topic! 🌐 In HTML, dealing with pages inside frames (or iframes) often requires a way to “break out” of the frame so the page loads in the full browser window.

    The simplest and most common solution is using the `target` attribute with `_top`.


    ### ⚠️ Note

    Modern websites rarely use traditional frames anymore, but iframes are still common, especially for embedded content.

    A small but important trick for better user control in embedded web environments. 🚀

    ReplyDelete