You are on page 1of 3

Cara memasukkan music di html

<!DOCTYPE html>

<html>

<head>
<title> Cara Memasukkan Playlist Lagu Pada Dokumen HTML </title>
</head>

<body>
<audio controls>
<source src="Nama Lagu.mp3" type="audio/mpeg">
</audio>
</body>

</html>

Teks berjalan

<!DOCTYPE html>

<html>

<head>

<title>Atribut Width dan Height di Tag Marquee</title>

</head>

<body>

<marquee width="500" height="40">Teks ini berjalan</marquee>

</body>

</html>

<!DOCTYPE html>

<html>

<head>

<title>Default Width dan Height di Tag Marquee</title>

</head>

<body>

<marquee>Teks ini berjalan</marquee>

</body>

</html>
Dari kanan kiri

<!DOCTYPE html>

<html>

<head>

<title>Atribut Direction di Tag Marquee</title>

</head>

<body>

<marquee direction="right">Teks ini ke kanan</marquee>

<marquee direction="left">Teks ini ke kiri</marquee>

</body>

</html>

Denganwarna

<!DOCTYPE html>

<html>

<head>

<title>Atribut BGColor di Tag Marquee</title>

</head>

<body>

<marquee bgcolor="cyan" width="400">Welcome</marquee>

</body>

</html>

Pada gambar

<!DOCTYPE html>

<html>

<head>

<title>Gambar di Tag Marquee</title>

</head>

<body>

<marquee width="500"><img src="kakigori.jpg" height="100"> <img src="Kimchi.jpg"


height="100">

<img src="mandu.jpg" height="100"></marquee>


</body>

</html>

You might also like