Are these layouts right?

image
image
The second is how I coded the checkbox input… would it be the same if I sent it to visual studio, and etc?

I don’t understand the question, can you give more infos?

Would the coding be the same if I sent it to an IDE program? On the first image, it has an id, name and etc… But on the second image, it does not… So would it have the same outcome if I sent it to an IDE software( if I were to preview it)?

I’m not sure what you mean by “be the same”? I think you might need to give us a little more detail about what you are trying to do here.

In general, they might look the same on the page but since the latter input is missing the name/id attributes it might not behave the same as the former. Not every checkbox needs an id or name attribute, it depends on what you are trying to do with them.

Thank you, this was the answer I was looking for.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.