Lists Inside Lists Correct Ans-To create sub-bullets within a numbered list:
<ol>
<li>Dad's interests
<ul>
<li>football</li>
<li>knitting</li>
</ul>
</li>
<li>Mom's interests
<ul>
<li>hating football</li>
<li>skydiving</li>
</ul>
</li>
</ol>
Inline CSS Correct Ans-This simply means we can do some styling in our HTML file without
worrying about a separate CSS file.
,Change Font Size Correct Ans-To change font size we use the style attribute. We make it
equal to font-size, followed by a colon, the size you want, and end it with px (short for "pixels").
Ex) <p style="font-size: 12px">
Change Font Color Correct Ans-To change the color of text, simply add the style attribute in
the opening tag, then make the style equal to "color:blue" (or whatever color you like).
Ex) <h2 style="color:red">
Change Multiple Attribute Values at Once Correct Ans-What if you want to change the color
and the size of the text (both values of the style attribute)? Simple! Just add a semi-colon
between each bit.
Ex) <h2 style="color: green; font-size:12px">
Change Font Type (font family) Correct Ans-Add a font-family style attribute to any tag that
creates text (headers, paragraphs, lists, links, etc.)
Ex) <li style="font-family: Arial">Hello!</li>
*The font name needs to be capitalized! Arial, Verdana, etc.
, Style Attribute Correct Ans-Allows you to change text and page characteristics without using
CSS, including font size, font type, font color, page background color, text alignment, etc.). Used
inside the opening tag of several elements.
Change Background Color Correct Ans-We can use the style attribute, and set it equal to
"background-color: red" (or whatever color you want).
Ex) <p style="background-color: red;">Hello!</p>
Change Text Alignment Correct Ans-Use the style attribute. And then we use "text-align:left"
(or right, or center) to determine the location of the text.
Ex) <h1 style="text-align:center">
Bold Words Correct Ans-Put <strong> </strong> around the words you wish to bold.
Ex) <p>Do you hear the people <strong>sing?</strong></p>
Italicize Words Correct Ans-Put <em> </em> around the words you wish to bold. Em =
emphasize.
Ex) <p>I am <em>so</em> tired.</p>