Ejemplo 1: html crea una entrada de texto de varias líneas
<html>
<head>
<title>Textarea Elements</title>
</head>
<body>
<form>
<label for="multiLineInput"> <!-- Add the label if you want -->
<p>This is an input element that can include new lines:</p>
<textarea rows="5" cols="50" id="multiLineInput"></textarea>
</label>
<!-- rows for length, cols for width. Both aren't required -->
</form>
</body>
</html>
Ejemplo 2: cuadro de texto multilínea
<TextBox
Name="tbMultiLine"
TextWrapping="Wrap"
AcceptsReturn="True"
VerticalScrollBarVisibility="Visible"
>
This TextBox will allow the user to enter multiple lines of text. When the RETURN key is pressed,
or when typed text reaches the edge of the text box, a new line is automatically inserted.
</TextBox>
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)