HTML TEXT FORMATTING 6.B

Text formatting

  1. What does this example demonstate?
    This text is bold
    This text is strong
    This text is big
    This text is emphasized
    This text is italic
    This text is small
    This is subscript and superscript
  2. How can you format text in an HTML document? HTML uses tags like <b> and <i> for formatting output, like bold or italic text.
Preformatted text
  1. What does this example demonstate?
    It preserves      both spaces
    and line breaks.
    

  2. Why would you use preformatted text? The pre tag is good for displaying computer code:
"Computer output" tags
  1. What does this example demonstate? Computer code
    Keyboard input
    Teletype text
    Sample text
    Computer variable
  2. What are "computer output" tags used to display? These tags are often used to display computer/programming code.
Address
  1. What does this example demonstate? Written by W3Schools.com
    Email us
    Address: Box 564, Disneyland
    Phone: +12 34 56 78
  2. Type your address in an HTML document. Written by Djzai09@gmail.com
    Email Me
    Address: Box 564, Disneyland
    Phone: +12 34 56 78
Abbreviations and acronyms
  1. What does this example demonstate? <p>The <abbr title=" "
    </abbr>
  2. What is an acronym? <acronym title=" " </acronym>
  3. What attribute is used for Abbreviations and acronyms? The title attribute is used to show the spelled-out version when holding the mouse pointer over the acronym or abbreviation.
  4. Write an example of an acronym. ? <p>isaiah  is the greatest</p>
Text direction
  1. What does this example demonstate? (bdo)
  2. Why would you ever want to change text direction? If your browser supports bi-directional override (bdo), the next line will be written from the right to the left (rtl):
Quotations
  1. What does this example demonstate? <blockquote>
  2. How would you handle a long quotation in HTML? A short quotation in HTML? <blockquote> This is a long quotation. </blockquote> 
  3. <q>"This is a short quotation"</q>
Deleted and inserted text
  1. What does this example demonstate? <del>blue</del> <ins>red</ins>
  2. What happens to deleted text in most browsers? strikethrough deleted text 
  3. What happens to inserted text in most browsers? underline inserted text
  4. Describe how you would view HTML source code in a web browser? It would be underlined or strikedthrough