Answers for "how to add text in input tag"

0

how to add text box html

<label for="textarea">WRITE COMMENTS HERE : </label><br><br>
     <textarea id="textarea" cols="30" rows="10" placeholder="write here..."></textarea>
Posted by: Guest on November-24-2020
0

how to set paragraph tag on input

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <input type="text" id="input">
<p id="demo"></p>
</body>
<script>
    let a = document.getElementById("input")
    document.getElementById("demo").innerHTML = a
</script>
</html>
Posted by: Guest on August-07-2021

Code answers related to "how to add text in input tag"

Browse Popular Code Answers by Language