I dont know why i cant leave comments , they show up on my website, ps, I dont really know anything about code, just following a template for fun
I currently dont have a website or email to link to, so i tried to leave a comment to block examples so they dont show up on my page, but they do
<ul>
<li class="category">Social</li>
#<li><a href="https://website.com">WebsiteName</a></li>
#<li><a href="mailto:name@name.com">MyEmail</a></li>
</ul>
If it is plain html, the way to comment a line is:
<!-- li><a href="https://website.com">WebsiteName</a></li -->
See The Importance of Correct HTML Commenting for more details.
If it is ruby code in the view, the way to comment a line is:
<%# This is a great comment! %>
See https://stackoverflow.com/a/2774858/429758 for details.
Comment block like this:
<!--
<ul>
<li class="category">Social</li>
<li><a href="https://website.com">WebsiteName</a></li>
<li><a href="mailto:name@name.com">MyEmail</a></li>
</ul>
-->
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.