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, 8 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.
\label{Authoring_Input_Tags}
This group of tags implements a mechanism for getting data for students.
They will usually be used by a response tag.
\begin{itemize}
\item \textbf{textfield}\index{textfield}: Creates a large text input box.
If data appears between the start and end tags, the data will appear
in the textfield if the student has not yet made a submission. Additionally,
it accepts two attributes: \textbf{rows} and \textbf{cols}, which control
the height and width of the text area respectively. It defaults to
10 rows and 80 columns.
\item \textbf{\label{textline}textline}\index{textline}: Creates a single
line input element. It accepts one attribute \textbf{size} which controls
the width of the textline, defaulting to 20.
\end{itemize}
Both the \textbf{textfield} and \textbf{textline} input tags support a \textbf{spellcheck}
attribute. If present, the text the user types is spellchecked when focus leaves the input
field. The value of this attribute specifies the language in which the spellcheck is performed.
e.g. \texttt{$<$textfield spellcheck='en' /$>$} creates a text field that is spellchecked in
English while \texttt{$<$textline spellcheck='de' /$>$} creates a text line that is spellchecked
in German.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>