As you can see from the style sheet above, this The effect is achieved through two styles, one for the text box and one for the button. Therefore, two different codes need to be inserted into the htm statements of the text box and button. The class inserted in the text box is =smallInput code. For example, , In the button statement, class="buttonface" code is inserted, as in the example
In fact, this corresponds to the style of the text box and button in the style sheet. The final effect is as shown below:
Look at the above effect, will it remind you of the monotonous text boxes and buttons? ? The above two effects are achieved through style sheets, and the usage methods are also very simple.
The production of forms is the focus of web development. Through forms, interaction and communication can be achieved, and information collection and sharing can also be achieved. The above two articles are carried out from the perspective of semantics and structure. Discussion, you can also participate in the discussion and learning!
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn