Contoh sederhana dibawah ini <html>
<body>
ketik apa saja disini
</body>
</html>
ketik apa saja disini
berikut ini bagaimana membuat paragraph<html>
<body>
<p>ini adalah paragraph.</p>
<p>ini adalah paragraph.</p>
<p>ini adalah paragraph.</p>
<p>element paragraph difinisikan berdasarkan tag.</p>
</body>
</html>
hasilinya akan seperti ini :
ini adalah paragraph
ini adalah paragraph
ini adalah paragraph
element paragraph di definisakan berdasarkan tag
Berikut ini bagaimana membuat judul yg besar atau yg kecil<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
<p>Use heading tags only for headings. Don't use them just to make something bold. Use other tags for that.</p>
</body>
</html>
This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
Use heading tags only for headings. Don't use them just to make something bold. Use other tags for that.
Membuat Judul ditengah<html>
<body>
<h1 align="center">This is heading 1</h1>
<p>The heading above is aligned to the center of this page. The heading above is aligned to the center of this page. The heading above is aligned to the center of this page.</p>
</body>
</html>
hasilnya akan seperti ini :
This is heading 1
The heading above is aligned to the center of this page. The heading above is aligned to the center of this page. The heading above is aligned to the center of this page.