[2] HTML - Style Teks


 

Teks pada HTML bisa dibuat tebal, miring, bergaris bawah, bergaris tengah dan lainnya. Berikut adalah style teks nya :

  • <b> ... </b> = huruf tebal  , <strong> ... </strong> = huruf tebal (teks penting)
  • <i> ... </i> = huruf miring, <em> ... </em> = huruf miring (teks penting)
  • <u> ...</u> = teks bergaris bawah , <ins> ... </ins> = teks yang disisipkan dengan teks bergaris bawah

 

<!DOCTYPE html>
<html>
<head>
    <title>Belajar Format-format</title>
</head>
<body>
<b>Ini format text TEBAL</b><br/>
<i>Ini format text Italic</i><br/>
<u>Ini format text Underline</u><br/>
<em>Ini format text EM</em><br/>
<small>Ini format text SMALL</small><br/>
<strong>Ini format text STRONG</strong><br>
<sub>Ini format text SUB</sub><br/>
<sup>Ini format text SUP</sup><br/>
<ins>Ini format text Ins</ins><br/>
<del>Ini format text Del</del><br/>
<mark>Ini format text Mark</mark><br/>
</body>
</html> 

 


Posting Komentar

0 Komentar

Postingan Unggulan