Help:Wiki University HTML-- Font Bold-Italics

From FamilySearch Wiki
Jump to: navigation, search
MAIN PAGE
WIKI
WIKITEXT
HTML/CSS
FAMILY HISTORY CENTERS
VISUAL EDITOR

Lessons


Flexbox/CSS Grid

Additional Helps

BOLD SENTENCES

To make a sentence in bold lettering, we use the "font-weight:bold" attribute:

<p style="font-weight:bold">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>

It will look like this:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Here is the contrast between HTML and Wikitext

HTML Wikitext

<p style="font-weight:bold">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>

'''Lorem ipsum dolor sit amet, consectetur adipiscing elit'''.

ITALICIZED SENTENCES

To make a sentence in italic lettering, we use the "font-style:italic" attribute:

<p style="font-style:italic">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>

It will look like this:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

HTML Wikitext

<p style="font-style:italic">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>

''Lorem ipsum dolor sit amet, consectetur adipiscing elit.''


TRY THESE OUT . . . . .

Tests.gif
Exercises

Using our Lorem ipsum paragraph..........

  • Make the first sentence bold.
  • Make the next to the last sentence italic.
  • Make the last sentence both bold and italics.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.


Quick Quiz
  • To make a sentence in bold text, you use the "text-weight:bold" attribute
A. True
B. False
  • To make a word italicized, you flank the "text-style:italic" attribute
A. True
B. False

Navigation menu