W3C: Trailing slash on void elements

Discussion of non-phpBB related topics with other phpBB.com users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other phpBB.com users. All site rules apply.
User avatar
Talk19Zehn
Registered User
Posts: 886
Joined: Tue Aug 09, 2011 1:10 pm

Re: W3C: Trailing slash on void elements

Post by Talk19Zehn »

Hello, in my opinion, an information (W3C) is first of all a hint, consequently not necessarily a "(gross) error".
I have found this explanation among others:
https://stackoverflow.com/questions/355 ... d-in-html5
User avatar
Gumboots
Registered User
Posts: 800
Joined: Fri Oct 11, 2019 1:59 am

Re: W3C: Trailing slash on void elements

Post by Gumboots »

Yes, it's not essential. It's just telling you that you don't need the slash, that it may create problems in some circumstances, but there are no problems on the page that was just checked.

I think attributes should generally be quoted, even in situations where you don't really need to quote them. Apart from anything else, it saves you having to remember all the rules for when you can and can't get away with not quoting them. It's also good for clarity, IMO.
User avatar
bennybernaer
Registered User
Posts: 674
Joined: Tue Mar 22, 2011 9:53 pm

Re: W3C: Trailing slash on void elements

Post by bennybernaer »

Mannix_ wrote: Sun Oct 16, 2022 10:20 am those links are added by the extensions. So I would look in there. To be precise in the ext/extName/styles/styleNameThatYouUse/template/event
Will be resolved in 3.3.9

Return to “General Discussion”