version 1.4, 2012/12/15 09:00:57
|
version 1.5, 2015/12/28 04:10:45
|
Line 8 They will usually be used by a response
|
Line 8 They will usually be used by a response
|
\item \textbf{textfield}\index{textfield}: Creates a large text input box. |
\item \textbf{textfield}\index{textfield}: Creates a large text input box. |
If data appears between the start and end tags, the data will appear |
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, |
in the textfield if the student has not yet made a submission. Additionally, |
it takes two attributes: \textbf{rows} and \textbf{cols}, which control |
it accepts two attributes: \textbf{rows} and \textbf{cols}, which control |
the height and width of the text area respectively. It defaults to |
the height and width of the text area respectively. It defaults to |
10 rows and 80 columns. |
10 rows and 80 columns. |
\item \textbf{\label{textline}textline}\index{textline}: Creates a single |
\item \textbf{\label{textline}textline}\index{textline}: Creates a single |
Line 19 the width of the textline, defaulting to
|
Line 19 the width of the textline, defaulting to
|
Both the \textbf{textfield} and \textbf{textline} input tags support a \textbf{spellcheck} |
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 |
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. |
field. The value of this attribute specifies the language in which the spellcheck is performed. |
e.g. \textbf{<textfield spellcheck='en' />} creates a text field that is spellchecked in |
e.g. \texttt{$<$textfield spellcheck='en' /$>$} creates a text field that is spellchecked in |
English while \textbf{<textline spellcheck='de' />} creates a text field that is spellchecked |
English while \texttt{$<$textline spellcheck='de' /$>$} creates a text line that is spellchecked |
in German. |
in German. |