Help:Wiki University HTML-- Font Bold-Italics

Bold words
For a word to appear in bold text, you apply the "font-weight:bold" attribute:   Lorem  ipsum dolor sit amet, consectetur adipiscing elit. It will look like this:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Bold sentences
The same method is used for sentences in paragraphs.   Lorem ipsum dolor sit amet, consectetur adipiscing elit. It will look like this: Lorem ipsum dolor sit amet, consectetur adipiscing elit.

An alternate method to made text bold is to flank the word or words with "strong" tags like so:  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Here is the contrast between HTML and Wikitext

Italicized words
For a word to appear in italicized text, you use the "font-style:italic" attribute   Lorem  ipsum dolor sit amet, consectetur adipiscing elit. It will look like this:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Italicized sentences
The same method is used for sentences or paragraphs. Place two apostrophes on either end of the sentence or paragraph:   Lorem ipsum dolor sit amet, consectetur adipiscing elit. It will look like this: Lorem ipsum dolor sit amet, consectetur adipiscing elit.

An alternate method to made text bold is to flank the word or words with "em" tags like so:  Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Can use bold and italics together
You can do both--make text bold and italicize it at the same time--by using 5 apostrophes on either end of what you want to effect. Bold and Italicized Here is the coding;   Bold and Italicized If you are wondering if you can use both the strong and em tags together, the answer is no. The code will not work if you combine the two tags like so:.

Try these out


 <div style="font-size:14pt; width:100%; height:30px; vertical-align:middle; background-color:lightgreen; ">Exercises 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.
 * Make the second word of each sentence of the lorem ipsum bold.
 * Make the next to the last sentence of lorem ipsum italic.
 * Make the last sentence both bold and italics.

<div style="width:160px; height:20px; padding-top:3px; padding-left:10px; background-color:orange; color:white; border:1px solid orange; border-radius:5px; ">Check your answers

<div style="border-top:10px solid lightgray; border-left:10px solid lightgray; border-right:10px solid lightgray; "> Quick Quiz
 * To make a sentence in bold text, you flank the sentence with two apostrophes
 * A. True
 * B. False


 * To make a word italicized, you flank the word with two quotation marks
 * A. True
 * B. False

<div style="width:160px; height:20px; padding-top:3px; padding-left:10px; background-color:orange; color:white; border:1px solid orange; border-radius:5px; ">Check your answers