Wednesday, 28 September 2011

Laboratory Exercise 2: Data on the web – semantic markup

For this assignment we want you learn to mark up information with semantic tags. The work you do will also contribute, in due course, to your second assignment.

What to do:

  1. Create a folder to store your work.
    Name it snnnnnn-IL-1, where snnnnnn is replaced by your student ID.
  2. Type (or cut and paste) a recipe (find one on the web) into a text editor.
    Save it as a plain text file named recipe.txt.
  3. Find a suitable image to illustrate your recipe, and save it to your folder.
  4. Mark your recipe up with semantic tags using the XML sandpit – or do it by hand.
    Using a text editor, insert your xml code in place of the ellipsis
    in the following template

    <xml version="1.0" encoding="utf-8"?>
    <!-- put your student number here -->

    Your code should consist of properly nested XML, using the tags used in class together with your own tags for any additional components.
    Save your marked-up recipe as a plain text file recipe.xml.

No comments:

Post a Comment