The code "*/" is showing at the top of my website. I can't locate where this is coming from and would love to see if someone can assist!

Bad Website Code

closed as off-topic by closetnoc, MrWhite, dan Mar 25 '18 at 22:42

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are specific to one website are discouraged because they are unlikely to help future visitors. Examples include individual website reviews for SEO purposes and general website troubleshooting. See the How to Ask page for help improving this question." – closetnoc, dan
If this question can be reworded to fit the rules in the help center, please edit the question.

  • That looks like an erroneous end of a block comment (either PHP or JavaScript), but where that might be occuring is anyone's guess (without digging through your code). However, if you are seeing that then it's possible that some other code is not working properly (ie. it's not simply a rendering issue). Unfortunately, debugging help that is specific to one site is off-topic I'm afraid. – MrWhite Mar 25 '18 at 22:13

The html markup is invalid. Check the page against an HTML validator, for example, on w3.org. Scroll down to 31st box, which shows the error.

To see this block of code on your site, view the HTML source of the page and search for Schoolbell. The culprit block is right near the second occurrence of Schoolbell.

<style type="text/css">/* <style>@import 'https://fonts.googleapis.com/css?family=Annie+Use+Your+Telescope|Atma|Life+Savers|Modern+Antiqua|Schoolbell';</style> */</style> 

Solution Remove this block entirely, since you already have embedded this font in line number 8. When you remove this block, you will also remove the containing "*/".

  • I appreciate your answering this with detail. I rather suspect the OP does not know how to edit the HTML as you and I would. It could be the OP is using s CMS and a template and not sure where to turn. Cheers!! – closetnoc Mar 26 '18 at 3:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.