4

#yyds干货盘点# 前端歌谣的刷题之路-第一题-表单类型

 1 year ago
source link: https://blog.51cto.com/u_14476028/5434503
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

我是歌谣 我有个兄弟 巅峰的时候排名c站总榜19 叫前端小歌谣 曾经我花了三年的时间创作了他 现在我要用五年的时间超越他 今天又是接近兄弟的一天人生难免坎坷 大不了从头再来 歌谣的意志是永恒的 放弃很容易 但是坚持一定很酷 本题目源自于牛客网

  请依次写出以下类型的输入框。
1. 类型为密码,默认值为"nowcoder"
2. 类型为复选框,且状态为已勾选

#yyds干货盘点# 前端歌谣的刷题之路-第一题-表单类型_复选框

​编辑

<form>
<!-- 补全代码 -->
<!-- 类型为密码,默认值为"nowcoder" -->
<input type="password" value="nowcoder">
<!-- 类型为复选框,且状态为已勾选 -->
<input type="checkbox" checked="checked">
</form>

根据题意写出合理代码即可 可看注释


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK