Difference between revisions of "SurveyCTO HTML Input"

Jump to: navigation, search
Tag: New redirect
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#REDIRECT[[SurveyCTO Additional Topics#HTML Input]]
This article discusses best practices when editing '''SurveyCTO HTML Input''' and provides useful commands.
== Read First ==
* [[SurveyCTO Coding Practices |SurveyCTO]] lets you change the format of question text using basic HTML commands.
* In some surveys it can be useful to highlight different parts of text in bold or a different color, either for a set of repeating questions where the text changes slightly or for a block of text that is particularly important.
== Best Practice ==  
== Best Practice ==  
SurveyCTO lets you change the format of question text using basic HTML commands. In some surveys it can be useful to highlight different parts of text in bold or a different color, either for a set of repeating questions where the text changes slightly or for a block of text that is particularly important. Some potential uses could be:
Some potential uses could be:
* It is probably better to display repeating questions such as: "How much cabbage did you cultivate on plot 3 during the rainy season?' as "How much '''cabbage''' did you cultivate on '''plot 3''' during the '''rainy''' season?"
* It is probably better to display repeating questions such as: "How much cabbage did you cultivate on plot 3 during the rainy season?' as "How much '''cabbage''' did you cultivate on '''plot 3''' during the '''rainy''' season?"
* Enumerator instructions can be highlighted in different colors. E.g. " <font color="red"> * IMPORTANT * </font> Don't forget to..."
* Enumerator instructions can be highlighted in different colors. E.g. " <font color="red"> * IMPORTANT * </font> Don't forget to..."
* Note that these commands can only be used for labels and hints, not for choice options.


=== Commands ===
=== Commands ===
The following commands should enclose the text you want to highlight in this format: <code> <$> text here </$></code>, where the '$' should be replaced by:
The following commands should enclose the text you want to highlight:
* Bold: 'b'
* <b>Bold</b>: <nowiki><b> text here </b></nowiki>
* Italic: 'i'
* <i>Italic</i>: <nowiki><i> text here </i></nowiki>
* Colors: 'font color="red"' then 'font'
* <font color="red"> Colors</font>: <nowiki><font color="red"> text here </font></nowiki>
 
More examples can be found [https://www.w3schools.com/html/html_formatting.asp here]
More examples can be found [https://www.w3schools.com/html/html_formatting.asp here]


== Back to Parent ==
== Related Pages ==
This article is part of the topic [[SurveyCTO Coding Practices]]
[[Special:WhatLinksHere/SurveyCTO_HTML_Input|Click here to see pages that link to this topic]].


[[Category: SurveyCTO Coding Practices ]]
[[Category: SurveyCTO Coding Practices ]]

Latest revision as of 23:39, 20 July 2023

This article discusses best practices when editing SurveyCTO HTML Input and provides useful commands.

Read First

  • SurveyCTO lets you change the format of question text using basic HTML commands.
  • In some surveys it can be useful to highlight different parts of text in bold or a different color, either for a set of repeating questions where the text changes slightly or for a block of text that is particularly important.

Best Practice

Some potential uses could be:

  • It is probably better to display repeating questions such as: "How much cabbage did you cultivate on plot 3 during the rainy season?' as "How much cabbage did you cultivate on plot 3 during the rainy season?"
  • Enumerator instructions can be highlighted in different colors. E.g. " * IMPORTANT * Don't forget to..."
  • Note that these commands can only be used for labels and hints, not for choice options.

Commands

The following commands should enclose the text you want to highlight:

  • Bold: <b> text here </b>
  • Italic: <i> text here </i>
  • Colors: <font color="red"> text here </font>

More examples can be found here

Related Pages

Click here to see pages that link to this topic.