Answered by:
how to enter "> " to the value of input field?

Question
-
User-1651604128 posted
Hi, I am trying to enter the following codes to html table to simulate Move right or left button using Input field.
<td width="10px">
<input id="ShiftRight" type="button" value="> " class="btn btn-primary" />
<input id="ShiftRightAll" type="button" value=">>" class="btn btn-primary" />
<input id="ShiftLeft" type="button" value="<" class="btn btn-primary" />
<input id="ShiftLeftAll" type="button" value="<<" class="btn btn-primary" />
</td>
But whenever I insert these codes, I got "table tag not closed" compile time error.
I found that it seems the item such as value=">" causes that error.
Does anybody know how to fix this error? thanks a lot,
Friday, February 16, 2018 1:55 PM
Answers
-
User2053451246 posted
Have you tried these:
For > use >
For < use <
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, February 16, 2018 2:06 PM -
User475983607 posted
Use encoding.
https://www.w3schools.com/html/html_entities.asphttps://www.w3schools.com/html/html_charset.asp
<input id="ShiftRight" type="button" value="> " class="btn btn-primary" />
Or this approach using the ASCII value.
https://www.ascii.cl/htmlcodes.htm
<input id="ShiftLeft" type="button" value="< " class="btn btn-primary" />
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, February 16, 2018 2:10 PM
All replies
-
User2053451246 posted
Have you tried these:
For > use >
For < use <
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, February 16, 2018 2:06 PM -
User475983607 posted
Use encoding.
https://www.w3schools.com/html/html_entities.asphttps://www.w3schools.com/html/html_charset.asp
<input id="ShiftRight" type="button" value="> " class="btn btn-primary" />
Or this approach using the ASCII value.
https://www.ascii.cl/htmlcodes.htm
<input id="ShiftLeft" type="button" value="< " class="btn btn-primary" />
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, February 16, 2018 2:10 PM