March 23, 2011

HTML Text Formatting

HTML yang digunakan untuk pengaturan teks sebagai berikut:
<b>This text is bold</b>
strong>This text is strong</strong>
<big>This text is big</big>
<i>This text is italic</i>
<em>This text is emphasized</em>
<code>This is computer output</code>
This is<sub> subscript</sub> and <sup>superscript</sup>
Hasilnya nampak seperti berikut:

This text is bold

This text is strong

This text is big

This text is italic

This text is emphasized

This is computer output

This is subscript and superscript
Format penulisan huruf yang lain:
<font size="5" color="red">This is some text!</font>
<font size="2" color="blue">This is some text!</font>
Hasilnya:
This is some text!
This is some text!
Sumber belajar: w3schools

0 comments:

Post a Comment

Top