如何设置文本方向将以HTML提交?
使用dirname属性可让您提交文本方向。该值将是输入名称,后跟 “.dir”。
示例
<!DOCTYPE html>
<html>
<body>
<h2>Student Contact Form</h2>
<form action = "mailto:emailid@example.com" method = "post" enctype = "text/plain">
Student Name:<br><input type = "text" name = "sname" dirname = "sname.dir"> <br>
Student Subject:<br><input type = "text" name = "ssubject"><br>
<input type = "submit" value = "Send">
</form>
</body>
</html>热门推荐
6 合字的祝福语简短
10 商业mc祝福语大全简短
11 简短的出行工作祝福语
12 18岁简短祝福语经典
13 长辈生日祝福语简短女性
14 贫困户祝福语简短
15 周一情人祝福语简短
16 过节文案成语祝福语简短
17 女儿生日祝福语说说简短
18 舅妈生日红包祝福语简短