Add Resource Links in Your Coursework

You can display links to your resource materials in your questions, assignments, or announcements.

Note Always use the file ID to reference a file uploaded to WebAssign. Using the ID ensures that WebAssign can locate the file even if you rename or move it.
  1. Open the question, assignment, or announcement in which you want to add a link to your file.
  2. Open the My Files window.
    From this page: Do this:
    Question Editor Click My Files in the Page Tools panel.
    Assignment Editor Click Include File for the Instructions.
    Communication Home Click My Files to the left of your announcement text.
  3. Navigate to the file you want to use and select its check box.

    You can select more than one file.

  4. For Paste location of file (selected below) as, select Link.
  5. Set the display text for the file.
    To do this Do this
    Use the existing display attributes In Attributes, select use saved attributes.
    Override the existing display attributes
    1. In Attributes, select enter new attributes.
    2. Type the link text you want to be displayed.
    3. Optional: Provide information for the title attribute of the link.

      Depending on the browser or screen reader's behavior, this might be displayed as hover text in the browser or read by a screen reader, but it also might not be shown or read to students at all.

  6. Select where you want your file to be included.
    In a: Do this:
    Question For Destination Field, select Question, Answer, or Solution.
    Note You can include files or images in Answer only for multiple-choice or multiple-select questions.
    Assignment For Destination Field, select Instructions.
    Announcement For Destination Field, select Announcement.
  7. Click go.

    For each file to be linked, a <userfile> tag is added to your content referencing the file ID and specifying any overrides to the display attributes.

    Examples:

    <userfile(12345)>
    <userfile(987654, link => "Syllabus", title => "Syllabus for BIO-201")>
  8. Optional: If needed, cut and paste the <userfile> tag to the location where your file link should be displayed.
  9. Optional: Specify other attributes that are valid for the <a> tag in HTML — for example, style or target — in the same way that the title attribute is specified.

    For example, the following code displays the link in bold and opens the document in a new browser window or tab:

    <userfile(103854, style => "font-weight: bold;", target => "_blank")>