Wednesday, October 26, 2011

  1. What is an HTML element? everything form start tag to end tag
  2. What is another name for a start tag? element name or child name
  3. What is another name for a end tag? closing tag
  4. When are HTML elements closed in a start tag?Empty elements are closed in the start tag
  5. Why are HTML Documents nested?Most HTML elements can be nested (can contain other HTML elements).
  6. Write the beginning tag, end tag and definition of each tag.
    • p <p>This is my first paragraph.</p>
    • body <body>
      <p>This is my first paragraph.</p>
      </body>
    • html <html>

      <body>
      <p>This is my first paragraph.</p>
      </body>

      </html>
    • br <br> is an empty element without a closing tag (the <br> tag defines a line break).
  7. What could happen if you do not include the end tag. all your tags might not get coded right
  8. What is the proper way to close an empty XHTML and XML tag.close empty elements with /> or >
  9. Why are lowercase tags preferred? they are case insensitive

No comments:

Post a Comment