-
Notifications
You must be signed in to change notification settings - Fork 5
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 <img> tag be within <a> tag? #85
Comments
Hi, @christosptr ! Thank you for your feedback! Since the content model of the <div>
<a href="default.asp">
<img src="smiley.gif" alt="HTML tutorial">
</a>
</div> We can include the But the caninlude service has no information about the parent of the parent, in which case the service shows "I doubt" More context is needed to decide whether to include a tag in a tag in this case. |
@CyberLight Thank you very much for the clarification. |
Can't Phrasing content be assumed as always allowed for nesting inside elements with Transparent content model? Are there any exceptions? |
This website is amazing and looking to use it more as a reference
Please correct if I am wrong.
Based on the HTML standards I believe this is a valid HTML
When I check this I get a message "I doubt"
https://caninclude.glitch.me/can/include/?child=img&parent=a
is this something that can be updated?
Thank you!
The text was updated successfully, but these errors were encountered: