Tags for Displaying Content

Use the following tags to display content in questions you create in WebAssign.

The listed tags are valid in Question, Answer, and Solution unless otherwise indicated.

Content

Tag

Notes

Image

<userimage(file_ID)>

Displays an image that you have copied to WebAssign.

Chemical drawings

<MARVIN>

Displays a chemical drawing. See Create Marvin JS Questions.

Symimage markup

<symimage(markup)>

Displays image of markup. See Display Notation with <symimage>.

LaTeX markup

<latex> markup 
</latex>
<latex pdf= 
'link_text'> markup 
</latex>

Displays LaTeX as an image or as a linked PDF file.

Math or chemistry notation

<h:>

See:

WaTeX markup

<watex> markup 
</watex>

Displays scalable HTML representation of markup. See Display Notation with WaTeX.

Predefined prompts

<p:>

See List of Prompts

Symbols

<s:>

See List of Symbols

Link to a file

<userfile(file_ID)>

Adds a link to a file that you have copied to WebAssign.

Link to practice question

<PRACTICE> 
qid='question_id' 
</PRACTICE>
<PRACTICE 
qid='question_id' 
link='link_text' 
title='window_title
' style='none'>

In Question or Solution, opens the specified question in a new window; no credit is awarded for answers to the practice question. Optionally set the style attribute to 'none' or use CSS values.

HTML textbook simulation

<asset
position='horizontal_alignment'
noimage></asset>
Note
  • This tag has no effect for instructor-created questions, including duplicates of textbook questions.
  • The closing tag must be included.