-
Notifications
You must be signed in to change notification settings - Fork 22.7k
Fix HTML syntax errors #39099
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
Fix HTML syntax errors #39099
Conversation
Preview URLs (40 pages)
Flaws (205)Note! 14 documents with no flaws that don't need to be listed. 🎉 URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
(comment last updated: 2025-04-14 20:08:07) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sending these fixes 🙌
Left a couple of comments for you to take another look.
@@ -71,7 +71,7 @@ This example uses multiple {{HTMLElement( "div" )}} elements, each with a class | |||
|
|||
```html | |||
<div class="<line-style>"> | |||
<p><line-style></p> | |||
<p><line-style></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original is correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original is invalid HTML because line-style
is not a valid element, and certainly not a void element.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of course, yes! It's not an html element
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah but it would be a syntax error if read as HTML code 😄 Generally we prefer actually syntactically valid code even if it's meant to be pseudocode.
files/en-us/web/css/ray/index.md
Outdated
offset-rotate: 0deg;</pre | ||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the closing tag can be moved to newline
Fix all invalid HTML