css/html如何设置readonly


当前第2页 返回上一页

1

2

3

4

5

6

7

8

9

10

11

<html>

<body>

<form action="/example/html/form_action.asp" method="get">

  <p>姓名:<input type="text" name="email" /></p>

  <p>国家:<input type="text" name="country"

  value="China" readonly="readonly" /></p>

  <input type="submit" value="Submit" />

</form>

<p>请在提交按钮上单击,输入会发送到服务器上名为 "form_action.asp" 的页面。</p>

</body>

</html>

运行结果:

GIF.gif

推荐学习:css视频教程

以上就是css/html如何设置readonly的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

css box-lines属性怎么用

css怎么设置实线

css child选择器有哪些?

css margin-bottom属性怎么用

css如何设置透明度不会影响子元素

小白首次个人网页上线流程

css的表格边框使用什么属性设置

css background-image属性怎么用

css3实现微信小程序瀑布流布局的代码示例

css怎么设置全屏背景图片

更多相关阅读请进入《css》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...