Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can <input> tag be within <label> tag? #86

Open
christosptr opened this issue Oct 22, 2021 · 2 comments
Open

Can <input> tag be within <label> tag? #86

christosptr opened this issue Oct 22, 2021 · 2 comments

Comments

@christosptr
Copy link

Please correct if I am wrong.
Based on the HTML standards I believe this is a valid HTML

<label >What is your name?
    <input type="edit" name="name" >
</label>

When I check this I get a message "No, you can't!"
https://caninclude.glitch.me/can/include/?child=input&parent=label

is this something that can be updated?

@CyberLight
Copy link
Owner

Hi, @christosptr ! Thank you for your feedback!

Yes, I agree, you are right.

@christosptr
Copy link
Author

@CyberLight Thank you for confirming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants