File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_Input_Tags.tex
Revision 1.5: download - view: text, annotated - select for diffs
Mon Dec 28 04:10:45 2015 UTC (8 years, 7 months ago) by lira
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, HEAD
fixing LATEX quotes and angle brackets.

    1: \label{Authoring_Input_Tags}
    2: 
    3: 
    4: This group of tags implements a mechanism for getting data for students.
    5: They will usually be used by a response tag. 
    6: 
    7: \begin{itemize}
    8: \item \textbf{textfield}\index{textfield}: Creates a large text input box.
    9: If data appears between the start and end tags, the data will appear
   10: in the textfield if the student has not yet made a submission. Additionally,
   11: it accepts two attributes: \textbf{rows} and \textbf{cols}, which control
   12: the height and width of the text area respectively. It defaults to
   13: 10 rows and 80 columns.
   14: \item \textbf{\label{textline}textline}\index{textline}: Creates a single
   15: line input element. It accepts one attribute \textbf{size} which controls
   16: the width of the textline, defaulting to 20.
   17: \end{itemize}
   18: 
   19: Both the \textbf{textfield} and \textbf{textline} input tags support a \textbf{spellcheck}
   20: attribute.   If present, the text the user types is spellchecked when focus leaves the input 
   21: field.   The value of this attribute specifies the language in which the spellcheck is performed.
   22: e.g. \texttt{$<$textfield spellcheck='en' /$>$}  creates a text field that is spellchecked in 
   23: English while \texttt{$<$textline spellcheck='de' /$>$} creates a text line that is spellchecked 
   24: in German.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>