Professional Documents
Culture Documents
HTML 1 2103187008
HTML 1 2103187008
Disusun oleh:
2018/2019
1. HTML Headings
<html>
<body>
<h1>This is Heading 1</h1>
<h2>Heading 2 is Smaller</h2>
<h3>Heading 3 is Smaller Still</h3>
</body>
</html>
2. HTML Paragraphs
<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
</body>
</html>
4. HTML Images
<html>
<body>
<img src="w3schools.jpg" width="104" height="142" />
</body>
</html>
Formatting : Analisa <strong> , <big>, <italic>, dll diguakan untuk megubah style huruf
12. Preformatted Text
<html>
<body>
<pre>
This is
preformatted text.
It preserves both spaces
and line breaks and shows the text in a monospace font.
</pre>
<p>The pre tag is good for displaying computer code:</p>
<pre>
for i = 1 to 10
print i
next i
</pre>
</body>
</html>
Computer output tags : Analisa <code>, <kbd>, <var> untuk membuat tags kalimat yang
diinginkan
14. Address
<html>
<body>
<address>
Donald Duck<br>
BOX 555<br>
Disneyland<br>
USA
</address>
</body>
</html>
Abbreviations and acronyms : Analisa <abbr title> <acronyms> untuk memasukan kalimat
berupa singkatan
Font family, color and size : analisa : untuk mengubah font huruf, warna dan ukuran
Open a link in a new browser windows : analisa : menambahkan link dan membukanya
dibrowser baru
73. Buttons
<html>
<body>
<form action="">
<input type="button" value="Hello world!">
</form>
</body>
</html>
74. Fieldset
<html>
<body>
<fieldset>
<legend>
Health information:
</legend>
<form action="">
Height <input type="text" size="3">
Weight <input type="text" size="3">
</form>
</fieldset>
<p>
If there is no border around the input form, your browser is
too old.
</p>
</body>
</html>