Baca Juga
HTML pun sudah dipersiapkan
dalam mengatur Style Text pada halaman HTML, diantaranya adalah fitur cetak
tebal <b> , cetak miring <i> , garis bawah <u> , coret
<s> , superscript <sup> dan subscript <sub>.
Sebagai contohnya adalah di bawah ini:

<!DOCTYPE
html>
<html>
<head>
<title></title>
</head>
<body >
<b>Ini Text Bold</b><br> <i>Ini Text Italic</i><br> <u>Ini Text Underline</u><br> <s>Ini Text Striketrue</s></br> Text Superscript: X<sup>2</sup><br> Text Subscript: H<sub>2</sub>O
<b>Ini Text Bold</b><br> <i>Ini Text Italic</i><br> <u>Ini Text Underline</u><br> <s>Ini Text Striketrue</s></br> Text Superscript: X<sup>2</sup><br> Text Subscript: H<sub>2</sub>O
</body>
</html>
Bagian 8. Mengatur Style Text Pada Halaman HTML
Reviewed by Akief Takaful
on
6:43 PM
Rating:

No comments: