freeCodeCamp/curriculum/challenges/chinese/01-responsive-web-design/basic-html-and-html5/create-a-text-field.md

658 B

id title challengeType videoUrl forumTopicId
bad87fee1348bd9aedf08829 创建一个输入框 0 https://scrimba.com/p/pVMPUv/c2EVnf6 16823

--description--

现在让我们来创建一个 form 表单。

input 输入框可以让你轻松获得用户的输入。

你可以像这样创建一个文本输入框:

<input type="text">

注意:input 输入框是没有结束标签的。

--instructions--

在列表下面创建一个 typetextinput 输入框。

--hints--

网页中应存在一个 typetextinput 输入框。

assert($('input[type=text]').length > 0);

--solutions--