Cara Memasukan Judul
sintaks: <title>……..</title>
Contoh:
<html>
<html>
<title>Belajar HTML</title>
</html>
Cara Membuat isi HTML.
sintaks: <body>……….</body>
contoh:
contoh:
<html>
<title>Belajar HTML</title>
<body>
<H1>Selamat Datang di My HTML</H1>
<p>Saya Bisa Membuat HTML</p>
</body>
</html>
Cara memberi Warna pada text di isi HTML
Sintaks: <body text=”warna”>
Contoh:
<html>
<title>Belajar HTML</title>
<body text=”lime”>
<H1>Selamat Datang di My HTML</H1>
<p>Saya Bisa Membuat HTML</p>
</body>
</html>
Cara Merubah warna Background.
Sintaks: <body bgcolor=”warna”>
Contoh:
<html>
<title>Belajar HTML</title>
<body text=”lime” bgcolor=”brown”>
<H1>Selamat Datang di My HTML</H1>
<p>Saya Bisa Membuat HTML</p>
</body>
</html>
Hyperlink
Sintaks: <a href=”alamat tujuan” name=”nama” target=_blank"|"parent"|"_top"|"_self">
…………………
…………………
</a>
Contoh:
<html>
<title>Belajar HTML</title>
<body text=”lime” bgcolor=”brown”>
<H1>Selamat Datang di My HTML</H1>
<p>Saya Bisa Membuat HTML</p>
<br>
<a href=”html2.html” name=”HTML” target="_top">
LINK
</a>
</body>
</html>
FORM
Sintaks: <form action="action" method="GET"|"POST">
...........................
</form>
</form>
Contoh:
<html>
<title>Belajar HTML</title>
<body text=”lime” bgcolor=”brown”>
<H1>Selamat Datang di My HTML</H1>
<p>Saya Bisa Membuat HTML</p>
<br>
<a href=”html2.html” name=”HTML” target="_top">
LINK
</a>
<form method="post" action="html3.html">
<input type="text" name="arial" size="30" value="Enter Your Name Here">
<br><br>
Are You Student
<input type="checkbox">
<br>
How Old Are You
<br>
<input type="radio" value="r1"> 10-15
<br>
<input type="radio" value="r2"> 16-20
<br>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</body>
</html>
Cara Membuat Tulisan Bergerak
Sintaks: <marquee>……….</marquee>
Contoh:
<html>
<title>Belajar HTML</title>
<body text=”lime” bgcolor=”brown”>
<H1>Selamat Datang di My HTML</H1>
<marquee><p>Saya Bisa Membuat HTML</p></marquee>
<br>
<a href=”html2.html” name=”HTML” target="_top">
LINK
</a>
<form method="post" action="html3.html">
<input type="text" name="arial" size="30" value="Enter Your Name Here">
<br><br>
Are You Student
<input type="checkbox">
<br>
How Old Are You
<br>
<input type="radio" value="r1"> 10-15
<br>
<input type="radio" value="r2"> 16-20
<br>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</body>
</html>
Cara Memasukan Musik kedalam HTML
Sintaks: <embed src=”alamat musik”>
Contoh:
<html>
<title>Belajar HTML</title>
<body text=”lime” bgcolor=”brown”>
<H1>Selamat Datang di My HTML</H1>
<marquee><p>Saya Bisa Membuat HTML</p></marquee>
<br>
<a href=”html2.html” name=”HTML” target="_top">
LINK
</a>
<form method="post" action="html3.html">
<input type="text" name="arial" size="30" value="Enter Your Name Here">
<br><br>
Are You Student
<input type="checkbox">
<br>
How Old Are You
<br>
<input type="radio" value="r1"> 10-15
<br>
<input type="radio" value="r2"> 16-20
<br>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
<embed src="C:\Users\Public\Music\New folder\Last_Child-Percayalah.mp3">
</body>
</html>








Tidak ada komentar:
Posting Komentar