danpros / htmly

Simple and fast databaseless PHP blogging platform, and Flat-File CMS
https://www.htmly.com
GNU General Public License v2.0
1.07k stars 263 forks source link

for better SEO - Meta tags are no need CLOSE SLASHES for meta and link elements #730

Open vvcares opened 5 months ago

vvcares commented 5 months ago

For better SEO, the META & LINK tags are no need the closing tags like " /> "

Ref: https://stackoverflow.com/questions/19506028/do-you-need-to-close-meta-and-link-tags-in-html https://developers.google.com/search/docs/crawling-indexing/special-tags

danpros commented 5 months ago

Hello,

Thanks! I'm considering it for the next release

vvcares commented 3 months ago

Hello,

Thanks! I'm considering it for the next release

Hi team. It seems you forgotten this change on your v2.9.9 :-)

vvcares commented 2 months ago

Trailing slash on void elements

danpros commented 2 months ago

For HTML 5 it has no effect but its for backward compatibility with XHTML. Even Google blog and many big company use it, check Github etc.

danpros commented 2 months ago

This added from functions.php