HTML Preview not working.

Alan Beber 0 Reputation points
2023-07-20T16:46:59.9366667+00:00

User's image

Hello!

My name is Alan.

Currently i am using the Visual Studio Code, and i use the extension HTML Preview too, but i do not know why the HTML Preview is not showing the right way the page by the code. This specific code show imagens and change the background color by the button that you choise light mode or nigth mode.

I do not know if i disabled accidently somthing. I tried reinstall the vscode and the extensin from HTML Preview, but not solve the problem.

So i would like know, how can i fix this?

Developer technologies Visual Studio Extensions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-07-21T02:42:56.7566667+00:00

    Hello @Alan Beber ,

    Welcome to Microsoft Q&A forum.

    There are many causes which may lead to this issue. If you hover over the message, will you see some tooltip? Sometimes, it’s related to security settings of specific extension. You may ask the author of the extension to confirm the settings and as I know, perhaps you can try to click the 3 dots(button) on the right-hand corner to check the security options.

    Besides, there are also some awesome extensions that you can consider using, such as Live HTML Previewer and Live Server.

    Since your question is related to extension and Visual Studio Code(different from Visual Studio and is currently not supported in Microsoft Q&A forums), please kindly post this question on Stack Overflow - visual studio code for better help.

    Thanks for your understanding, have a nice day.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.