html

  1. Opening line of codein html.
    <!DOCTYPE html>
  2. Second line of code specifying the type of document.
    • <html>
    • </html>
  3. Tag to make text bold.
    • <strong>
    • </strong>
  4. Tag to format the tab at the top of the browser.
    • <head>
    • </head>
  5. Tag for putting words in the tab at the top of the browser.
    • <title>
    • </title>
  6. Tag for formatting the bulk of the page.
    • <body>
    • </body>
  7. Tag for creating a paragraph.
    • <p>
    • </p>
  8. The biggest header tag.
    • <h1>
    • </h1>
  9. All header tags.
    • <h1></h1>
    • <h2></h2>
    • <h3></h3>
    • <h4></h4>
    • <h5></h5>
    • <h6></h6>
  10. To add an image.
    <img src="url"/>
  11. Add a link.
    <a href="address">  clickable content  </a>
  12. Create an ordered list.
    • <ol>
    •       <li></li>
    •       <li></li>
    • </ol>
  13. Unordered list
    • <ul>
    •        <li></li>
    •        <li></li>
    • </ul>
  14. Make a comment.
    <!--comment-->
  15. What do you insert into the tag to control the size of the font?
    style="font-size:12px"
  16. What to you insert into the tag to control the font color?
    style="color:red"
  17. What do you insert into the tag to control the font style?
    • style="font-family:Impact"
    • (Capitalize the name of the font.)
  18. Inserting multiple style elements in a tag.
    style="font-size:12px;font-family:serif;color:blue"
  19. What do you insert into the tag to control the background color?
    style="background-color:blue"
  20. What do you insert in the tag to align the text?
    style="text-align:center"
  21. Tag used to italicize words.
    <em></em>
  22. What are the three tags used to make a table?
    • <table>
    •        <tr>
    •              <td></td>
    •              <td></td>
    •        </tr>
    • </table>
Author
csararun
ID
206013
Card Set
html
Description
html tags and what they are used for.
Updated