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?
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!