Name:     ID: 
 
Email: 

Hour 05 - Basic Text Alignment and Formatting

True/False
Indicate whether the statement is true or false.
 

 1. 

The following is an example of an unordered list <ul> ... </ul>.
1.  First Item
3.  Third Item
2.  Second Item
 

 2. 

There are only two types of HTML list, the numbered list (<ol>) and the bulleted list (<ul>).
 

 3. 

When using the “style” attribute to call out the font family in the <p> tag, the following example could be used:
<p style=”font-family:verdana, arial, times roman”>
 

 4. 

The division tag - <div> ... </div> along with the attribute - style=”align-text:center” can be used to center any text, paragraphs, headings, and images that are inside the tag.
 

 5. 

By using the “style” attribute in ordered (<ol>) and unordered (<ul>) lists you can determine the type of bullet or number displayed.
 

 6. 

Cascading Style Sheets (CSS) were created as a solution to eliminate many of the formatting tags that turned out to be poorly designed to mark up the information on a web page and specify of how that information is formatted.
 

 7. 

You should never nest one tag inside another.  For example - <b> This text is bold <i> and this text is bold and italic </i> </b>.  The proper method would be:
<b> This text is bold </b> <b><i>and this text is bold and italic </i></b>.
 

 8. 

If you use the <b> (bold) and <i> (italic) font tags in a list you should close the tag (</b>, </i>) at the end of each list <li> item.
 

 9. 

Character entities are always specified starting with a & and ending with a /.
Example for copyright - &copy/
 

 10. 

Using other “style” attributes you can call out the font family, font size, and color of the tagged text.
 

 11. 

A quick and easy way to make text appear in the browser as it appears in your HTML code is to use the <pre> tag.
 

 12. 

It is possible to center everything on an entire page by placing the style=”text-align:center” attribute inside the body <body> tag.
Example <body style=”text-align:center”> ... </body>
 

 13. 

Attributes are special code words used outside and HTML tag to control exactly what the tag does.
 

 14. 

XHTML standards require tags and attributes to be in lowercase and for quotation marks to be placed around attributes values.
 

 15. 

When using the <p> tag to create a paragraph the “style” attribute style=”text-align:left” is required to create text with left alignment.
 



 
         Start Over