The string data type

A sequence of Unicode characters.

...
<textbox text="I found 65 bugs..."/>
...
The text property of this textbox control is set to a string literal

Figure 274. The text property of this textbox control is set to a string literal


When you want to use single- or double quotes in a string literal, you need to either use one type of quotes to delimit the string, which lets you freely use the other type inside the string, or else use the relevant XML entity references to use delimiter characters (such as > and <) in string literals.

...
<textview text='Nobody expects the "Spanish Inquisition"!'/>
<textview text="Here's your &lt;XML-element&gt;, sir."/>
...
The two textview controls above rendered in the browser

Figure 275. The two textview controls above rendered in the browser