Page 77 - DCAP408_WEB_PROGRAMMING
P. 77
Unit 3: Text Formatting
Notes
Example:
<BODY>
The witness was <EM>not even there</EM> at the time.
</BODY>
…..is rendered similar to…..
<STRONG> Element
The <STRONG> element indicates text, which should be more forceful than surrounding text.
The <STRONG> element emphasizes, usually bold.
Example:
<BODY>
We will have <STRONG> my bond! </STRONG>/ Speak not against <STRONG> my bond! </
STRONG>/ I have sworn an oath that I will have <STRONG> my bond</STRONG>. —The
Merchant of Venice
</BODY>
…..is rendered similar to…..
Notes What’s the difference between <EM> (emphasis) and <STRONG>? It’s a matter of
degree: <STRONG> is like <EM> only more so.
<SAMP> Element
The <SAMP> element indicates text, which is an example of something. It is also commonly used
to represent some key piece of text that has special meaning.
LOVELY PROFESSIONAL UNIVERSITY 71