1. Do browsers display HTML tags?
    No but broswers use HTML tags to determine how to display the document
  2. Which element displays the visible page content?
    <body>
  3. What must all HTML documents start with?
    <!DOCTYPE html> declaration
  4. The HTML document itself begins and ends with which element?
    <html> element
  5. Which heading element is more important, an <h1> or an <h2>?
    <h1>
  6. Which heading element is the least important?
    <h6>.
  7. Which HTML element defines a paragraph?
    <p>
  8. Which element defines a hyperlink?
    <a> tag
  9. A hyperlink’s destination is defined by which attribute?
    href attribute
  10. Which element defines an HTML image?
    <image>
  11. An HTML element usually consists of a start tag and end tag, with the content inserted in between. Type an example of an h1 using your name as the content. Be sure to include the appropriate opening and closing HTML tags (see the tips section of the assignment post).
    <h1>Vivian</h1>
  12. The body element is always nested in which element?
    <html>
  13. Type an example of an empty element.
    <br>
  14. Should HTML tags be typed in uppercase letters?
    Both upper and lowercase is allowed but lowercase is recommended.
  15. What is an HTML attribute?
    They provide additional information about HTML elements.
  16. Width and height attributes provide size information for which HTML element?
    for <img>
  17. Width and height attributes are given in which unit of measure?
    in pixels
  18. Explain the importance of the alt attribute.
    It specifies an alernate text for an image if the image cannot be displayed.
  19. Which attribute provides additional tooltip information?
    The title attribute
  20. What should the lang attribute be for pages that we author in this class?
    <html lang="en-US">
  21. Browsers automatically add what before and after a heading?
    some white space or a margin
  22. What do search engines use HTML headings for?
    to index the structure and content of your web pages
  23. Which HTML tag defines a thematic break in an HTML page?
    <hr>
  24. Which HTML element is a container for metadata about the HTML document?
    <head>
  25. What could happen when you fail to use an end tag with an HTML element?
    unexpected results and errors
  26. Which HTML element do you use if you want a line break (a new line) without starting a new paragraph?
    <br>
  27. What does a <strong> element mean? How is it different from <b>?
    <strong> indicates important text while <b> is bold text
  28. Explain the difference between <i> and <em>.
    <i> is italic text and <em> is emphasized text
  29. What is the difference between <q> and <blockquote>?
    <q> defines a short quotation and <blockquote> defines a section that is quoted from another source
  30. Which HTML elements are not displayed by the browser, but they can help document your HTML source code?
    HTML comments <!--Comments-->
  31. Which attribute specifies the destination address in a hyperlink?
    href
  32. A local link (link to the same web site) is specified with a which type of URL?
    a relative URL - without the "https://www" part
  33. Which HTML element defines a link?
    <a>
  34. Which HTML tag defines an image?
    <!img>
  35. Which attribute specifies the URL (web address) of an image?
    src attribute
  36. Which attribute provides an alternate text for an image, if the user for some reason cannot view it?
    alt attribute
  37. What is the tag for an unordered list?
    <ul>
  38. What is the tag for an ordered list?
    <ol>
  39. A list item must be contained in which HTML element?
    <li>
  40. If you use the less than (<) or greater than (>) signs in your text, what might happen?
    The browser may confuse the ext for action html so you use entities instead.