Monday, February 25, 2019

HTML exercise notes

HTML exercise Notes


  1. Preserve all spaces and linebreaks when the element is displayed  <pre></pre>\
  2. Use CSS to center align the paragraph. 

 <p style="text-align:center;">This is a paragraph.</p>
3.  Highlight the word "FUN" in the text below.
 <p>
    HTML is <mark>FUN</mark> to learn!
 </p>
4. Apply subscript formatting to the number "2" in the text below.
 <p>
    H<sub>2</sub>O is the scientific term for water.
 </p>
5. Add a line through (strikeout) the letters "blue" in the text below.
 <p>
    My favorite color is <del>blue</del>red.
 </p>
6. Use an HTML element to add quotation marks around the letters "cool".
  <p>
    I am so <q>cool</q>.
  </q>
7. Add the proper HTML element to it, and specify that it is quoted from the following URL:
  <blockquote cite=""></blockquote>
8. Make the text below direction go right-to-left.
<bdo dir="rtl"></bdo>
9. Use an HTML element to provide the specified abbreviation of "WHO".
<abbr title=""></abbr>
10. comment tag
<!--      -->
11. 

1 comment:

  1. *very nice post, i certainly love this website, keep on it Visit My site: Kitchen Tale Game

    ReplyDelete