basic container and input to control text editing or textfunctions in javascript
<!DOCTYPE html>
<html>
<body>
<div class="boxed">
<form>
Input Text:<br>
<input type="text" id="input" name="firstname" size="70">
</form>
<br>Output Text:<br>
<textarea rows="4" cols="45" id="output">
</textarea>
<button onclick="myFunction()">Transfer text</button>
<script>
function myFunction() {
var x = document.getElementById("input").value;
document.getElementById("output").value = x;
}
</script>
</div>
<style>
.boxed {
border: 1px solid red ;
}</style>
</body>
</html>