05 Formatting HTML Text
05 Formatting HTML Text
1/17
2/17
Underline
<u>
<big> <small>
Highlighted
<mark>
<sub> <sup>
<ins> <del>
3/17
ITALIC TEXT
<i> makes the text italic; <em> does the same thing.
The difference is that <em> emphasises importance
<p>Hesaid<i>Iamjustgoingoutsideandmaybesometime</i>.</p>
<p>Ifyoudon'thaveavaccination<em>youmaycatchmalariaanddie</em>.</p>
4/17
HesaidIamjustgoingoutsideandmaybesome
time.
Ifyoudon'thaveavaccinationyoumaycatch
malariaanddie.
5/17
BOLD TEXT
<b> makes the text bold; <strong> does the same thing.
The difference is that <strong> emphasises importance.
<p>Shesaid<b>Ifyouwantsomethingsaid,askaman
ifyouwantsomethingdone,askawoman</b>.</p>
<p>Ifyoucan'trepayyourmortgage<strong>youmayloseyourhome</strong>.</p>
6/17
ShesaidIfyouwantsomethingsaid,aska
manifyouwantsomethingdone,aska
woman.
Ifyoucan'trepayyourmortgageyoumaylose
yourhome.
7/17
UNDERLINE
Try not to use underline - confusing/multiple meanings
<p>Theviewer<u>maybeconfused</u>ifyouuseunderline.</p>
<p>Hernameis<u>Cheng</u>SinYing.</p>
8/17
Theviewermaybeconfusedifyouuse
underline.
HernameisChengSinYing.
9/17
10/17
It'sdangeroustousebigbecauseitisn'tpartof
HTML5!
I'membarrassedtosayitloudlysohereitis:I
loveyou!
11/17
HIGHLIGHTING TEXT
<mark> highlights the text
<p>Sendusyourbankdetailsandyoumaybecomea<mark>millionaire</mark>!</p>
12/17
Sendusyourbankdetailsandyoumaybecome
amillionaire!
13/17
14/17
Ifx1=2andx2=4thenx12+x23equals68
SomevideostreamingmayuseXML1
1G.Lam&D.Rossiter,'AWebService
FrameworkSupportingMultimediaStreaming',
IEEETransactionsonServicesComputing,
2013
15/17
<p>Alsothis:Prof.Rossiterhasan<del>astonishingly</del>oldcar.</p>
16/17
Let'sdothisedit:Prof.Rossiteristrulythemost
intelligent.
Alsothis:Prof.Rossiterhasanastonishinglyold
car.
17/17