Home > Web Front-end > HTML Tutorial > Ask a very simple question_html/css_WEB-ITnose

Ask a very simple question_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:09:16
Original
1052 people have browsed it

I’m not sure about this when I’m learning for the first time. Please give me some advice


in the form

name value cols rows What are these used for? It seems that they have been deleted? How does it affect type class id? Do you know what they are used for?


Reply to the discussion (solution)

For the definition of tag input, please refer to this

http://www.w3school.com.cn/tags/tag_input. asp
http://www.w3school.com.cn/html5/tag_input.asp

name value cols rows These are attributes, name, value, number of columns, number of rows
type class id These are the type, style, and id number of the specified control

name value cols rows These are the properties, name, value, number of columns, and rows
type class id These are the types of the specified control , style, id number



This question is indeed very white.
As for the above, you can basically guess its function based on its definition; therefore, when writing your own code, it is best to define a variable or something that can indicate its function
type: type
name: name, (like a person’s name, it can be repeated)
id: is the ID, (like an ID card, it is unique in the entire page)
value: value
cols: columns (equivalent to the length of INPUT)
rows: rows (equivalent to height)
class: style

The type type is radio indicating that the web page forms a radio button, as for others It’s the same as what 4L said

The 4th floor is already very detailed!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template