Add Resource Links in Your Coursework
You can display links to your resource materials in your questions, assignments, or announcements.
- Open the question, assignment, or announcement in which you want to add a link to your file.
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 either the Description or Instructions. Communication Home Click My Files to the left of your announcement text.
- For Paste location of file (selected below) as, select Link.
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
- In Attributes, select enter new attributes.
- Type the link text you want to be displayed.
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.
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, multiple-select, or matching questions. Assignment For Destination Field, select Description or Instructions. Announcement For Destination Field, select Announcement.
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.
<userfile(987654, link => "Syllabus", title => "Syllabus for BIO-201")>
If needed, cut and paste the
<userfile>tag to the location where your file link should be displayed.
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")>