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上让图片居中、图片适应

border属性怎么用

css径向渐变怎么用

ie9不能读取外部css样式怎么办

css外部样式表有两种引用方法,分别是什么

css怎么让背景图片不重复

css如何增加权重

css怎么设置右对齐

2021年值得了解的10 个 css 功能(分享收藏)

css实现选框选中效果

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




打赏

取消

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

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

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

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

评论

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