XHTML Odds and Ends

Description

In this activity you will see several XHTML elements and special characters to use in your template and journal. The requirements for the template are spelled out in the section below. In your journal, you must have at least ONE of these features.

Template Assignment

Follow the steps below to create a footer for your template that includes a horizontal rule line and copyright information.

  1. Open your template.
  2. The following code should be the last two lines before the end of the body.
  3. <hr />
    <p>&copy; Your Name and Date</p>
  4. Replace "Your Name" with your actual name. You can choose additional copyright information you may want to include, such as "All rights reserved." However! If you are using any media that you took from the Internet, be careful about their copyrights and copylefts.
  5. Save!
  6. View the template in a Web browser to see how the code works.
  7. The <hr /> tag is responsible for the horizontal rule line, which you can style with CSS.
  8. The &copy; code creates the copyright symbol. There are other special characters as well.
  9. Fix any problems and make any customizations you need. Save again.
  10. The following code should be placed somewhere in the head section of the template.
  11. <meta name="author" content="Your Name" />
    <meta name="description" content="In this space write a prose description of the page. Search engines will show this text when you come up in results." />
  12. Save and preview in your Web browser. Notice nothing changed in how it looks. META tags are for information only. Web designers look at them to find authoring information, and search engines look at them for several purposes.
  13. You will turn in your template next week.
  14. Journal Assignment

  15. Add at least one of the features above to your journal. If you include META information, it should definitely be on the index page, and would be best on all pages.