1.4 Text Formatting Flashcards
(7 cards)
1
Q
What is the difference between <strong> & <b>?</b></strong>
A
Both make text bold, but <strong> is samantic, indicating importance.</strong>
2
Q
What is the difference between <em> & <i>?</i></em>
A
Both italicize text, but <em> is semantic, indicating emphasis.</em>
3
Q
How do you display superscript text for footnotes or exponents?
A
Use the tag, e.g, x2.
4
Q
How do you display superscript text for chemical formulas?
A
Use the tag, e.g, H2O.
5
Q
What is <pre> used for?
A
Displays preformatted text with spaces & line breaks preserved.
6
Q
What is the <blockquote> tag used for?
A
To display a long quotation, typically indented.
7
Q
What does the <q> tag do?</q>
A
Denotes an inline short quotation, rendered with quotation marls.