HTML and CSS Code Tutorial For Beginners

3:37 PM Comment

 

HTML and CSS Code Tutorial For Beginners

What is CSS ?

CSS stands for Cascading Style Sheet, which is an arrangement of code that we use to set how HTML documents will be displayed. What is meant by setting here is: changing the color, layout, border, shadow, position, background, and so on.

In fact, all web pages in this era almost certainly use CSS.

Inserting CSS in HTML

There are 3 ways to add CSS to HTML:

  • Using inline CSS.
  • Using internal CSS.
  • and Using external CSS.

Using inline CSS

Inline CSS is a CSS code that we embed in any element in the HTML body, directly using the attribute style

Example

<button>Log In</button>

<button>Register</button>

Output:

We can change the style of the two buttons above by adding attributes style

<button style="color: red">Log In</button>

<button style="color: blue; border: 2px solid green">

  Register

</button>

Output:

Well, the method above is called inline CSS, because we directly insert CSS on that line as well.

Using internal CSS

The second way is to use internal CSS. Internal CSS is CSS that is placed on the <head>

Example

<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>CSS Internal</title>

</head>

<body>

  <a href="#">Home</a>

  <a href="#">About</a>

</body>

</html>

Output:

CSS Internal Home About

We can add tags <style> in the <head>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>CSS Internal</title>

 

  <style>

    a {

      padding: 8px 16px;

      border-radius: 4px;

      color: white;

      background-color: #8d68e8;

      text-decoration: none;

      font-family: Arial, Helvetica, sans-serif;

    }

  </style>

</head>

<body>

  <a href="#">Home</a>

  <a href="#">About</a>

</body>

</html>

Output:



Using external CSS

What is meant by external is that we create a separate file with the extension .css. Then we link the file into the HTML page using the tag <link>

Example

├── index.html

└── style

    └── app.css

So we have two files

Index.html

Style/app.css

We can add a <link> tag in the <head> section that points to the style/app.css file as follows

While the contents of the style/app.css file are as follows

<html lang="en">

<head>

  <meta charset="UTF-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>CSS Eksternal</title>

  <link rel="stylesheet" href="./style/app.css">

</head>

<body>

  <a href="#">Home</a>

  <a href="#">About</a>

</body>

</html>

While the contents of the style/app.css file are as follows

a {

  padding: 8px 16px;

  border-radius: 4px;

  color: white;

  text-decoration: none;

  font-family: Arial, Helvetica, sans-serif;

}

a:first-of-type {

  background-color: #1fc296;

}

a:last-of-type {

  background-color: #d45a5a;

}

Note : In the use of external CSS we do not need to use the tag <style>

Output:



When to Use inline, internal and external CSS ?

Ideally in real projects, we should always use external CSS.

Why?

So that the arrangement of files in our project becomes neater. And also: so that we can use the same CSS file for more than one HTML page.

However, there are times when we prefer to use internal or inline CSS. Like for example when we only need a little CSS on an element


Harga Dan Spesifikasi Lengkap Realme C35

12:56 PM Comment

 

Harga Dan Spesifikasi Lengkap Realme C35

Harga ponsel realme c35 di indonesia sekitar 2jt an tergantung kapasitas memory yang disediakan, terdapat dua varian kapasitas memory yaitu 4/64 GB sekitar harga Rp2.200.00 dan 4/128 GB Rp2.400.000

Untuk kamera realme c35 menggunakan sistem triple camera dan masing masing dengan sensor wide angel 50MP dan Macro lens 2MP dan lensa satu lagi untuk bokeh, kamera depan memiliki kualitas 8MP dan memiliki kapasitas baterai yang jumbo

ponsel realme C35 memiliki 2 pilihan warna yaitu Glowing Black dan Glowing Green

Untuk spesifikasi lengkap dari realme c35 ada dibawah ini

Ukuran dan berat panjang 164.4mm
lebar 75.6mm
tebal 8.1mm
berat 189g
Layar Resolusi: 2408*1080
Rasio Layar: 90.7%
Touch sampling rate: 180Hz
Kecerahan Maksimals: 600nits
PPI: 401
Kamera Kamera Utama 50 MP
f/1.8 aperture
5p lensa
Burst
Filter
Time lapse
Pro
Panorama
Macro
Night Pro
Potrait
HDR
Kamera Makro f/2.4 aperture
Fokus 4cm
Kamera Bokeh f/2.8 aperture
Kamera depan 8 MP
f/2.0 aperture
5P lensa
Hasil Video 1080P/30fps video recording
720P/30fps video recording
480p/30fps video recording
Baterai 5000mAh
18W adaptor fast charging
Jaringan GSM: 850/900/1800/1900MHz
WCDMA: Bands 1/5/8
FDD-LTE: Bands 1/3/5/7/8/20/28
TDD-LTE: Bands 38/40/41(2496MHz-2690MHz)
2.4/5GHz
Bluetooth 5.0SD
Memory RAM 4GB/6GB LPDDR4X
ROM 64GB/128GB UFS 2.2
Prosesor CPU Octa-core, 12nm, hingga 2.0GHz
GPU ARM Mali-G57
Sensor GPS/AGPS/ BEIDOU/GALILEO
Sensor cahaya
girometer
Sensor Jarak
Sensor Akselerasi
Sensor induksi magnetik
Port dan Sistem 3.5mm headset jack
USB Tipe-C
2 Slot kartu Nano + 1 Slot kartu Micro
realme UI R Edition
Based on Android 11

Daftar Aplikasi Dan Situs Yang Diblokir Kominfo Terbaru

6:06 PM Comment

 


Taukah kalian hari ini tepat tanggal 30 juli 2022 kominfo mengumumkan beberapa situs dan aplikasi yang resmi diblokir karena dengan alasan belum melakukan pendaftaran yang sudah tertulis pada peraturan kominfo no 5 tahun 2020  mengenai Penyelenggara Sistem Elektronik (PSE) lingkup privat

Daftar beberapa situs dan aplikasi yang divlokir kominfo

  1. Paypal
  2. Yahoo
  3. Epic Game
  4. Dota
  5. Steam
  6. Origin (EA)
  7. Counter Strike
  8. Xandr.com

Namun pemblokiran tersebut belum merata karena masih bisa diakses dengan jaringan oxygen.id, indihome, my republic dan biznet

Pemblokiran ini bersifat sementara karena jika platform digital tersebut sudah melakukan pendaftaran PSE maka pemblokiran akan dibuka, namun untuk paypal sebenarnya sudah terdaftar PSE namun anehnya paypal tidak bisa diakses karena dianggap sebagai situs terlarang oleh kominfo

Harga Dan Spesifikasi Lengkap Realme 5i

6:30 AM Comment

Ponsel terbaru dari realme ini dilengkapi dengan sejumlah fitur terbaru yaitu AI quad-camera dan memiliki kapasitas baterai yang jumbo dan tentunya realme membandrol harga ponselnya relatif terjangkau yaitu Mulai  Rp1.900.000 sampai Rp2.200.000, terdapat 2 warna yang disediakan yaitu warna Ocean Blue dan Forest Green

Pada belakang ponsel terdapat 4 kamera yang bersusun secara vertikal dan 1 buah led flash serta terdapat pemindai sidik jari

Kamera utama memiliki kualitas 12MP, kemudian kamera ultrawide 8MP, kamera makro 2MP dan kamera depth sensor 2 MP, serta untuk kamera depan memiliki kualitas 8MP

dibawah ini merupakan spesifikasi lengkap dari ponsel realme 5i

Ukuran dan Berat Panjang 164.4 mm
Lebar 75.0 mm
Tebal 9.0 mm
Berat 195 g dengan baterai
Layar 6.5-inch (16.5cm) mini-drop fullscreen
LCD multi-Touch display
89% screen-to-body ratio
1600-by-720-pixel resolution at 269 ppi
480cd/m2 max brightness (typical)
Night mode for eye care
Corning Gorilla Glass 3
Kamera AI Quad Camera dengan Lensa Makro Ultra Wide angle
Kamera Utama 12 MP
10x digital zoom
f/1.8 aperture
5P lens
PDAF
AI HDR
AI scene recognition
AI beauty
Chrome boost
Super nightscape
Panorama mode
Filter mode
Expert mode
Time-Lapse mode
Kamera Ultrawide 8 MP
119° angle
5P lens
f/2.25 aperture
Support super nightscape
Kamera Makro 2 MP
4cm shooting distance
Kamera Depth Sensor 2 MP
6 gaya Potret
Kamera Depan 8 MP
5P lens
f/2.0 aperture
AI beauty
AI HDR
Hasil Video Perekaman video 4K pada 30fps
Perekaman video HD 1080p pada 30fps
Mendukung gerakan lambat 120fps
Filter mode
Electric image stabilization for video
Chip dan Kapasitas Octa-core CPU
11nm process technology
Qualcomm Snapdragon 665 AIE
4GB + 128GB
4GB + 64GB
3GB + 32GB
Up to 2.2GHz clock speed
Baterai 5000 mAh
10 W 5v 2A
Jaringan TD-LTE (Bands 38/40/41)
FDD-LTE (Bands 1/3/5/8)
GSM (850/900/1800/1900)
WCDMA (B1/B5/B8)
Bluetooth 5.0 wireless technology
802.11 b/g/n Wi-Fi
Sensor GPS/Beidou/Glonass/A-GPS
Sensor cahaya
Sensor jarak
Sensor induksi magnetik
girometer
Sensor akselerasi
Sidik jari
Port Headset 3.5 mm
USB Mikro
Dual Sim nano dan TF Card
Sistem Operasi ColorOS 6.0.1 Android 9

Tutorial For Making Form In Html For Beginners

1:27 PM Comment
Tutorial For Making Form In Html For Beginners

Among the important features of HTML are: form tags. That is a tag that we use to collect input from users, this concept is the same as the concept of forms in the real world.

Generally, a website always has a form feature, the most common examples we often encounter are:

login form

sign-up form

comment form on a blog / media

Element <form>

The most important is the tag or element <form>. It is a wrapping tag or container that represents a “form” where one form can have multiple fields.

<form>

...........

</form>

The <form> tag itself does not have any appearance or is invisible to the naked eye, but we still have to define it so that the form we create can work properly.

Elemen <input>

In HTML, there are many types of input models ranging from text, files, checklists, and so on which, God willing, we will discuss in more detail in the next few meetings.

And most of these types of fill models use <input> tags.

Example

<input type="text" name="name" value="joe">

Output :

The input tag has 2 basic attributes, namely:

  • type
  • and names.

The type attribute is used to define the type of the field, while the name attribute is the name of the field.

Several types of input tag input types such as text (default), radio, checkbox, submit, button and so on:

<input type="text">

<!-- choice (a, b, c, d) -->

<input type="radio">

<!-- type ceklis -->

<input type="checkbox">

<!-- button for submit -->

<input type="submit">

<!-- button not for submit -->

<input type="button">

Text Field

The first is a text field, it is an input tag with a type="text" attribute that functions to collect text fields from the user.

Even without writing type="text", the default type of an input is text.

Example

<form>

  <div>

    <label for="first-name">First Name</label> <br>

    <input id="first-name" name="first-name" placeholder="First Name">

  </div>

  <div style="margin-top: 1rem">

    <label for="last-name">Last Name</label> <br>

    <input id="last-name" name="last-name" placeholder="Last Name">

  </div>

</form>

output :



In the code above, we use the <div> element to wrap the <label> and <input> elements. The use of the <div> element here only works so that the label and input are displayed in a new line, so even without using a <div> is fine.

One more thing, because the <label> and <input> elements are inline elements, we must use a "certain way" (such as using the <br> tag) so that the label and input are displayed on a new line.

If you don't use div or br (as in the example below):

<form>

    <label for="first-name">First Name</label>

    <input id="first-name" name="first-name" placeholder="First Name">

    <label for="last-name">Last Name</label>

    <input id="last-name" name="last-name" placeholder="Last Name">

</form>

The output will be inline:

Element <label>

Take a look at the HTML code above: we have two <label> elements.

The <label> element does look like a typical <span> element, but it has a special function: to label an input field.

Because when a screen reader reads the content of an HTML page, then finds an input, it will read the corresponding label.

Another function of the <label> tag is: when we click on a label, the browser will put focus on the field associated with it.

We can associate an <label> and an <input> with the for attribute for the label, and the id attribute on the <input> with the exact same value.

Consider the following example:

<label for="input-name">Name</label>

<br>

<br>

<input id="input-name">

In the code above, the <input> element has an id of name-field, and the label element has a for attribute with the same value, namely name-field.

Output :



Radio Button

Next is the field with the radio type. It is an option type field where we can offer several options to the user. However, only one option can be selected.

Example

<form>

  Gender: <br>

  <div>

    <input id="ml" type="radio" name="gender_">

    <label for="ml">Male</label>

  </div>

  <div>

    <input id="fl" type="radio" name="gender_">

    <label for="fl">female</label>

  </div>

</form>

Output:

Gender:

In the options above, we can only choose one of each.

The thing to note is that the name attribute of each radio button must have the same value in a set of options. In the example above, we have gender_

Check boxes

Next is the checkbox or checklist. The difference with radio, we can choose more than one option in a set of options.

Let's change all type="radio" in the previous code to type="checkbox". 

<form>

  Gender: <br>

  <div>

    <input id="ml" type="checkbox" name="gender_">

    <label for="ml">Male</label>

  </div>

  <div>

    <input id="fl" type=" checkbox " name="gender_">

    <label for="fl">female</label>

  </div>

</form>

Output :

Gender:

In the example above we can select (tick) all the available options.

Element button submit

The next input element that we will discuss in this form introduction is input type submit.

It is an <input> displayed in the form of a button. If this input is clicked, the form will be submitted and the browser will start sending data.

Example :

<form>

  <input type="text" name="name" value="Joe"> <br>

  <input type="submit" value="Submit">

</form>

output :


We can also use element <button>

<form>

  <input type="text" name="name" value="joe"> <br>

  <button>Submit</button>

</form>

Buttons that are in a form will automatically be considered type="submit". If we want to create a plain button that doesn't submit <form>, we can add the attribute type="button"

In the code above, when the "Save" button is clicked, it will not submit the form because it is of type normal button (type="button"), not submit type

How to Process the Form

When a <form> is submitted, using either a <button> element or an <input type="submit">, the browser will send the data to the URL defined in the action attribute in the form tag.

Meanwhile, if the action attribute is not defined, the browser will use the current URL as the destination for sending data.

Example :

<form action="/ process-registration ">

  ...

</form>

In the example above, when the form is submitted, the browser will send the existing data to the URL /process-registration


Driver Printer Epson L3110

12:06 PM Comment

 

 

Driver Printer Epson L3110

Jenis Driver Epson L3110

Epson menyediakan beberapa jenis driver untuk printer L3110. Jika ingin memaksimalkan fungsi print maka kalian bisa mendownload driver khusus untuk printer, sedangkan jika ingin memaksimalkan fungsi scanner kalian bisa mendownload driver scanner.

Namun, jika Kalian ingin memaksimalkan fungsi keduanya, Kalian dapat menginstal dua driver untuk print dan scan. File instalasi driver yang kami sediakan di sini dapat diinstal di hampir semua versi Windows.

Diantaranya adalah Windows Vista, Windows 7, Windows 8, Windows 8.1, hingga Windows 10, baik itu versi 32-bit maupun 64-bit. Saat mengunduh driver, pastikan Kalian memilih driver yang sesuai untuk sistem operasi yang diinstal pada komputer.

Driver Epson L3110 merupakan software yang dikembangkan langsung oleh Epson untuk memudahkan pengguna dalam mengontrol printer melalui PC Windows. Tanpa aplikasi ini, beberapa fungsi pada printer biasanya tidak dapat dijalankan dengan baik.

Epson L3110 sendiri merupakan printer multifungsi yang tidak hanya dapat digunakan untuk mencetak, tetapi juga dapat digunakan untuk memindai dan menyalin. Selain itu, printer EcoTank ini juga dilengkapi dengan tangki tinta dan nozzle yang dapat memudahkan pengguna untuk mengisi tinta.

Menggunakan EcoTank L3110, pengguna dapat mencetak 7.500 halaman berwarna dan 4.500 halaman hitam putih untuk satu set tangki penuh. Soal kecepatan, printer ini bisa mencetak dengan kecepatan hingga 10 ipm untuk warna hitam dan 5.0 ipm untuk warna.

Selain itu, Epson L3110 juga mampu memindai dengan resolusi 600 x 1200 dpi dan menyalin hingga ukuran kertas A4. Karena terintegrasi dengan tangki tinta, pengguna juga tidak perlu repot memasang tangki sendiri.

Untuk menginstal driver Epson L3110 tidak jauh berbeda dengan menginstal aplikasi pada umumnya, namun agar kalian tidak bingung disini saya akan menjelaskan secara singkat langkah-langkahnya.

Silahkan download file instalasi driver dibawah ini terlebih dahulu, pastikan printer dalam keadaan hidup dan terhubung dengan komputer

Download driver | epson L3110

selanjutnya simak langkah-langkah instalasi driver Epson L3110 berikut ini :

  • Klik kanan pada file driver yang diunduh, lalu pilih opsi Run as administrator.
  • Centang “Set as default printer” lalu OK.
  • Untuk melewati dialog “Epson Eula” pilih Agree lalu OK.
  • Tunggu hingga proses instalasi selesai.
  • Jika muncul notifikasi instalasi berhasil, pilih OK.

Pada titik ini driver telah berhasil diinstal dan printer Epson L3110 siap digunakan. Agar driver dapat berjalan dengan baik, silakan restart komputer terlebih dahulu sebelum mencetaknya.

Rekomendasi Laptop Gaming Dibawah 15 jt-an

6:30 AM Comment

 

Rekomendasi Laptop Gaming Dibawah 15 jt-an

Saat ini peminat laptop gaming semakin banyak, dapat dilihat pada pencarian di internet mengalami kenaikan sekitar 28% pada tahun 2022 dibandingkan dengan tahun 2019, dan puncak kenaikannya tepat berada pada tahun 2020 dan 2021 dengan 109% dan 90%

Pada analisis melalui google keyword ditemukan beberapa laptop yang paling banyak dicari di negara thailand, filipina, malaysia, singapur dan tentunya indonesia dengan harga Rp15 jt-an

Acer Nitro 5

Acer Nitro 5

Menjadi laptop yang populer di beberapa negara seperti indonesia, singapur dan filipina, laptop acer nitro 5 ini banyak dicari karena memiliki harga yang cukup terjangkau, sekitar Rp12 jt an

Lenovo Legion 5

Lenovo Legion 5

Para gamers di thailand banyak mengguakan laptop Lenovo Legion 5 ini, bahkan menjadi laptop favorit mereka, laptop ini berada di urutan ke 5 dari 5 negara yang dianalisis tadi dengan harga sekitar Rp12 jt an juga

Asus TUF Gaming

Asus TUF Gaming

Laptop yang berada di urutan ke 5 diseluruh negara kecuali di singapura, memiliki spesifikasi yang bagus dan tentunya dengan harga yang terjangkau untuk sekelas laptop gaming, Asus TUF Gaming dibandrol sekitar Rp10 jt an

Hp Pavilion Gaming

Hp Pavilion Gaming

Laptop ini berada diurutan ke 3 dan ke empat di negara thailand dan indonesia, dengan harganya yang sedikit lebih mahal dibandingakan rekomendasi diatas lainnya namun tentunya memiliki performa yang lebih baik, dan laptop Hp Pavilion Gaming ini dibandrol sekitar Rp 13 – 18 jt an

Download Whatsapp GB / WA GB Terbaru Anti Banned

10:46 AM Comment

 

Gb whatsapp merupakan aplikasi yang banyak digunakan oleh pengguna android, karena memiliki banyak tema dan vitur yang tidak dimiliki oleh whatsapp resmi yang ada di play store

Sama seperti whatsapp resmi, GB Whatsapp juga melakukan update terbaru mengikuti update dari whatsapp resmi, tujuannya yaitu supaya GB Whatsapp tidak terkena banned oleh Whatsapp resmi, untuk mendapatkan GB Whatsapp terbaru kalian bisa klik link dibawah ini kemudian instal seperti biasanya

Download WA GB

Jika kalian baru pertama kali menggunakan GB Whatsapp dibawah ini merupakan panduan untuk instal di ponsel kalian

  • Pertama setelah kalian download aplikasinya, kemudian buka aplikasi dan mulai menginstal
  • Akan ada peringatan untuk menginstall aplikasi tidak diketahui sumbernya atau unknow sources dan kalian akan dibawa ke menu pengaturan
  • Kemudian aktifkan pada pilihan unknown sources kemudian kembali ke aplikasi WA GB
  • Tunggu sampai proses instalasi selesai
  • Kemudian cari aplikasi GB Whatsapp di ponsel kalian dan buka aplikasi tersebut
  • Buat akun pada aplikasi WA GB tersebut dan isikan nomor telepon
  • Klik salin data untuk mensinkronkan dari WA resmi sebelumnya ke WA GB
  • Setelah verifikasi nomor telepon aplikasi WA GB siap kalian gunakan