A PHP Error was encountered

Severity: 8192

Message: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Filename: helpers/template_helper.php

Line Number: 1042

Backtrace:

File: /home/u8613374/public_html/dasar/dev/application/helpers/template_helper.php
Line: 1042
Function: _error_handler

File: /home/u8613374/public_html/dasar/templates/frontend/belajar/header.php
Line: 100
Function: head

File: /home/u8613374/public_html/dasar/dev/application/libraries/Site.php
Line: 69
Function: view

File: /home/u8613374/public_html/dasar/dev/application/helpers/template_helper.php
Line: 13
Function: view

File: /home/u8613374/public_html/dasar/templates/frontend/belajar/artikel.php
Line: 1
Function: get_template

File: /home/u8613374/public_html/dasar/dev/application/libraries/Site.php
Line: 69
Function: view

File: /home/u8613374/public_html/dasar/dev/application/controllers/Artikel.php
Line: 37
Function: view

File: /home/u8613374/public_html/dasar/index.php
Line: 335
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Filename: helpers/template_helper.php

Line Number: 1049

Backtrace:

File: /home/u8613374/public_html/dasar/dev/application/helpers/template_helper.php
Line: 1049
Function: _error_handler

File: /home/u8613374/public_html/dasar/templates/frontend/belajar/header.php
Line: 100
Function: head

File: /home/u8613374/public_html/dasar/dev/application/libraries/Site.php
Line: 69
Function: view

File: /home/u8613374/public_html/dasar/dev/application/helpers/template_helper.php
Line: 13
Function: view

File: /home/u8613374/public_html/dasar/templates/frontend/belajar/artikel.php
Line: 1
Function: get_template

File: /home/u8613374/public_html/dasar/dev/application/libraries/Site.php
Line: 69
Function: view

File: /home/u8613374/public_html/dasar/dev/application/controllers/Artikel.php
Line: 37
Function: view

File: /home/u8613374/public_html/dasar/index.php
Line: 335
Function: require_once

Rabu, 19-Januari-2022

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 282

Backtrace:

File: /home/u8613374/public_html/dasar/dev/application/core/MY_Controller.php
Line: 12
Function: library

File: /home/u8613374/public_html/dasar/dev/application/core/frontend_controller.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/dev/application/controllers/Artikel.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/index.php
Line: 335
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Cannot change session cookie parameters when session is active

Filename: Session/Session.php

Line Number: 294

Backtrace:

File: /home/u8613374/public_html/dasar/dev/application/core/MY_Controller.php
Line: 12
Function: library

File: /home/u8613374/public_html/dasar/dev/application/core/frontend_controller.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/dev/application/controllers/Artikel.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/index.php
Line: 335
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 304

Backtrace:

File: /home/u8613374/public_html/dasar/dev/application/core/MY_Controller.php
Line: 12
Function: library

File: /home/u8613374/public_html/dasar/dev/application/core/frontend_controller.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/dev/application/controllers/Artikel.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/index.php
Line: 335
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 375

Backtrace:

File: /home/u8613374/public_html/dasar/dev/application/core/MY_Controller.php
Line: 12
Function: library

File: /home/u8613374/public_html/dasar/dev/application/core/frontend_controller.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/dev/application/controllers/Artikel.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/index.php
Line: 335
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Cannot change save handler when session is active

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /home/u8613374/public_html/dasar/dev/application/core/MY_Controller.php
Line: 12
Function: library

File: /home/u8613374/public_html/dasar/dev/application/core/frontend_controller.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/dev/application/controllers/Artikel.php
Line: 7
Function: __construct

File: /home/u8613374/public_html/dasar/index.php
Line: 335
Function: require_once


Frame HTML

0 BYAdmin

Halo, kembali dibagian selanjutnya dalam panduan tutorial HTML. Kali ini kita akan belajar mengenai Frame dalam html. Yang mana fungsi utamanya adalah menyisipkan halaman html ke dalam halaman html lainnya. Saat ini sudah jarang sekali digunakan. Meski secara SEO frame harus di hindari penggunaannya,  namun tetap masih berguna. Oleh karena itu kita akan tetap mempelajari cara penggunaannya. 

Baiklah yang pertama kita harus lakukan adalah mempersiapkan 3 buah halaman html yang nantinya akan di sisipkan ke dalam halaman utamanya. Halaman utama html kita beri nama home.html, halaman yang didalamnya kita akan beri nama frame_1.html, frame_2.html dan frame_3.html

Mula-mula kita siapkan halaman home.html

    <!-- ini adalah halaman home.html -->
    <html>
        <head>
            <title>Ini adalah halaman home.html</title>
            <frameset cols="25%,*,25%">
    			<frame src="frame_1.html">
    			<frame src="frame_2.html">
    			<frame src="frame_3.html">
    		</frameset>		
        </head>
    </html>

 

Selanjutnya kita siapkan halaman frame_1.html

    <!-- ini adalah halaman frame_1.html -->
    <html>
        <head>
            <title>Ini adalah halaman frame_1.html</title>
        </head>
          
        <body>
          
        </body>
         
    </html>

 

Selanjutnya kita siapkan halaman frame_2.html

    <!-- ini adalah halaman frame_2.html -->
    <html>
        <head>
            <title>Ini adalah halaman frame_2.html</title>
        </head>
          
        <body>
          
        </body>
         
    </html>

 

Selanjutnya kita siapkan halaman frame_3.html

    <!-- ini adalah halaman frame_3.html -->
    <html>
        <head>
            <title>Ini adalah halaman frame_3.html</title>
        </head>
          
        <body>
          
        </body>
         
    </html>

 

Kurang lebih hasil akhirnya nanti akan seperti ini :

belajar html menggunakan frame

 

Apa bila kita perhatikan dalam tag <frameset cols="25%,*,25%"> terdapat atribut cols yang mana fungsinya memberikan frame-frame didalamnya ditampilkan menyamping. Jika menggunakan rows maka akan kebawah. Bisa Anda coba sendiri ya. Oke ya?