+ 1
How do I get name , email and message inside the bars
<form> <input place holder = "name" /><br /> <input place holder ="email" /><br /> <textarea place holder="message" ></textarea><br /> <input type = "submit" value="send"/> </form>
3 ответов
+ 3
placeholder
+ 1
<form>
<div>
<label for="email-input">Label text</label><br>
<input
id="email-input"
type="email"
name="email-inputted"
placeholder="placeholder-text">
</div>
<button type="submit">Submit</button>
</form>
Do the same for name and message
In the same form
+ 1
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<form>
<p>
NAME: <input type="text" id="fname" placeholder="name" /> <br/>
EMAIL: <input type="email" id="email" placeholder ="email" /><br />
MESSAGE: <textarea placeholder="message" ></textarea> <br />
<input type="submit" value="send"/>
</form>
</p>
</body>