This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// class dengan access modifier public | |
public class KelasPublik{ | |
// variabel dengan access modifier public | |
public String variabelPublik; | |
//method dengan access modifier public | |
public void methodPublik{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dicoba dulu ya kak di cmd atau Command Prompt nya supaya mengerti | |
1) Buat Database : | |
CREATE DATABASE myshop; | |
2) Buat tabel : | |
- Table users : | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Form Input Data</title> | |
</head> | |
<body> | |
<!-- attribut action="form.html" pada tag pembuka <form> di bawah | |
digunakan untuk mengirimkan data ke halaman HTML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- attribut action="form.html" pada tag pembuka <form> di bawah | |
digunakan untuk mengirimkan data ke halaman HTML | |
yang akan menerima data, | |
jika halaman form mengirimkan data kedirinya sendiri, | |
cukup isi value attribute action dengan | |
form.html atau dikosongkan saja, | |
tapi pada contoh ini Josikie tidak membiarkan attribute memiliki value yang kosong --> | |
<form action="form.html"> | |
<!-- attribute for="nama" pada tag pembuka <label> | |
digunakan agar label dan kotak input saling berhubungan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Tabel HTML</title> | |
<style> | |
table, th, td{ | |
border-width: 1px; | |
border-style: solid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table, th, td{ | |
border-width: 1px; | |
border-style: solid; | |
border-color: pink; | |
border-collapse: collapse; | |
margin: 10px; | |
padding: 10px; | |
text-align: center; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Tabel HTML</title> | |
</head> | |
<body> | |
<table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Tabel HTML</title> | |
</head> | |
<body> | |
<table> | |
<tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Tabel HTML</title> | |
</head> | |
<body> | |
<table></table> | |
</body> |
NewerOlder