0% found this document useful (0 votes)
39 views

Modul 3 Formatting

This document describes various HTML formatting elements including <b>, <strong>, <i>, <em>, <mark>, <small>, <del>, <ins>, <sub>, and <sup>. It explains that <b> defines bold text while <strong> defines important text, <i> defines italic text while <em> defines emphasized text, and <mark> defines highlighted text. <small> defines smaller text, <del> defines deleted text, and <ins> defines inserted text. <sub> defines subscripted text and <sup> defines superscripted text.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Modul 3 Formatting

This document describes various HTML formatting elements including <b>, <strong>, <i>, <em>, <mark>, <small>, <del>, <ins>, <sub>, and <sup>. It explains that <b> defines bold text while <strong> defines important text, <i> defines italic text while <em> defines emphasized text, and <mark> defines highlighted text. <small> defines smaller text, <del> defines deleted text, and <ins> defines inserted text. <sub> defines subscripted text and <sup> defines superscripted text.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Modul 3

Formatting
HTML Formatting Elements
Formatting elements were designed to display special types of text:
<b> - Bold text
<strong> - Important text
<i> - Italic text
<em> - Emphasized text
<mark> - Marked text
<small> - Small text
<del> - Deleted text
<ins> - Inserted text
<sub> - Subscript text
<sup> - Superscript text
HTML <b> and <strong> Elements
The HTML <b> element defines bold text,
without any extra importance.
HTML <b> and <strong> Elements
The HTML <strong> element defines strong
text, with added semantic "strong" importance.
HTML <i> and <em> Elements
The HTML <i> element defines italic text,
without any extra importance.
HTML <i> and <em> Elements
The HTML <em> element defines emphasized
text, with added semantic importance.
HTML <small> Element
The HTML <small> element defines smaller
text:
HTML <mark> Element
The HTML <mark> element defines marked or
highlighted text:
HTML <del> Element
The HTML <del> element defines deleted
(removed) text
HTML <ins> Element
The HTML <ins> element defines inserted
(added) text.
HTML <sub> Element
The HTML <sub> element defines subscripted text.
HTML <sup> Element
The HTML <sup> element defines superscripted text.
HTML <ins> & <del> Tag
A text with a deleted part, and a new, inserted
part:
HTML <mark> Tag
Highlight parts of a text:

You might also like