Tugas 1 Implementasi Tag HTML
Tugas 1 Implementasi Tag HTML
1. Heading
Siapkan notepad lalu implementasikan tag html berikut di notepad. Dan simpan lalu beri
nama file Heading.html dengan save type: All Files
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My First Paragraph.</p>
</body>
</html>
Maka hasilnya
2. Tag Judul
Implementasikan tag berikut dinotepad lalu save dengan
nama judul.html
<!DOCTYPE html>
<html>
<body>
</body>
</html>
3. Tag Paragraf
Implementasikan tag berikut dinotepad lalu save dengan
nama paragraf.html
<!DOCTYPE html>
<html>
<body>
<p>
</p>
</body>
</html>
4. Tag Style
Implementasikan tag berikut dinotepad lalu save dengan
nama style.html
<!DOCTYPE html>
<html>
<body>
</body>
</html>
5. Tag Formating
Implementasikan tag berikut dinotepad lalu save dengan
nama formating.html
<!DOCTYPE html>
<html>
<body>
</body>
</html>
6. Tag Gambar
Implementasikan tag berikut dinotepad lalu save dengan
nama gambar.html
<!DOCTYPE html>
<html>
<body>
<h2>Alternative text</h2>
<p>The alt attribute should reflect the image content, so users who cannot
see the image gets an understanding of what the image contains:</p>
</body>
</html>
7. Tag From
Implementasikan tag berikut dinotepad lalu save dengan
nama form.html
<!DOCTYPE html>
<html>
<body>
<from acion="/action_page.php">
<input list="browsers" name="browser">
<datalist id="browsers">
<option value="Internet Explorer">
<option value="Fiferfox">
<option value="Chrome">
<option value="Opera">
<option value="Safari">
</datalist>
<input type="submit">
</from>
<p><b>Note:</b> The datalist tag is not supported in Safari or IE9 (and
earlier).</p>
</body>
</html>
8. Tag Table
Implementasikan tag berikut dinotepad lalu save dengan
nama tabel.html
<!DOCTYPE html>
<html>
<head>
<style>
table, th, t {
border: 1px solid black;
padding: 5px;
}
table {
border-spacing: 15px;
}
</style>
</head>
<body>
<h2>Border Spacing</h2>
<p>Border spacing specifies the space between the cells.</p>
<table style="width:100%">
<tr>
<th>Fristname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</th>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr>
<td>Jon</td>
<td>Doe</td>
<td>80</td>
</tr>
</table>
</body>
</html>
9. Tag Daftar/List
Implementasikan tag berikut dinotepad lalu save dengan
nama list.html
<!DOCTYPE html>
<html>
<body>
<h2>Ordered List with Lowercase Roman Numbers</h2>
<ol type="1">
<li>Coffee</i>
<li>Tea</i>
<li>Milk</li>
</ol>
</body>
</html>
Sekian tutorial cara mengimplementasikan Tag HTML…