<br />Forms are an important channel for users to submit information. This section will introduce the basics of forms. Form Tag <form> A form starts with a <form> tag. Users need forms to register as website members, vote, etc. Of course, XHTML alone cannot handle these forms. If you want to handle these forms, you need to use some web backend technologies like PHP and ASP. (By the way, the background of Xiaocai Niao is still very green.) Below we introduce two common form elements: 1. Text box <form> Name: <inputtype="text" name="user"/><br/></form> Name: 2. Password box <form> Name: <inputtype="password"name="pass"/><br/></form> password: As you can see, both form elements use the <input> tag, but the content filled in the password box is invisible. What determines their different types is the attribute value of the "type" attribute of the <input> tag. For example, text is a text box, and password is a password. You should have noticed that the <imput> tag is also an empty tag. He didn’t terminate the tag. We must remember to add a "/" at the end to comply with XHTML requirements. There are many commonly used form elements, such as single choice and multiple choice, but since we can't process the form now, we can't understand the meaning of the form. So I won’t introduce it here. If you continue to learn backend technology in the future, you will naturally understand the role of form in website building. |
<<: MySQL obtains the current date and time function example detailed explanation
>>: Details on overriding prototype methods in JavaScript instance objects
We will install phpMyAdmin to work with Apache on...
Effect picture: Implementation code: <template...
Table of contents 01 Introduction to YAML files Y...
Supervisor Introduction Supervisor is a client/se...
Table of contents 1. Introduction 2. MVCC (Multi-...
Table of contents The use of Vue's keep-alive...
Table of contents Precautions Necessary condition...
Table of contents Basic Configuration Entry file ...
This article records the installation and configu...
Table of contents 1. Don’t treat objects as Maps ...
Events can specify the execution of SQL code once...
How to modify the style of the el-select componen...
Preface The mv command is the abbreviation of mov...
Simple use of Vue bus Scenario description: Compo...
IFNULL(expr1,expr2) If expr1 is not NULL, IFNULL(...