If we don't show HTML in view source. Is this effect SEO for a website?

Is it important to show HTML in view Source in terms of SEO perspective? I have a website and for some programming reasons it is hiding whole HTML while I am checking view source. Please advice me.

Can you see the HTML in dev tools (F12 in most browsers)?

@chrisofarabia Yes, When I do F12 or Inspect element then I can see the HTML.

Then what are you talking about?

@ronpat I want to make website SEO perfect. I did SEO audit through Woorank and it shows heading tags are missing (h1,h2,h3). But they are present when I check through inspect element.

It sounds like ‘View Source’ may have been disabled by your system admin’s policies. I’d suggest that this affects you locally only. The chances are that anyone else connecting to the server will be able to see the site, including search engines.

1 Like

Given that the website in your profile shows you to be 100% perfect in SEO you should already know the answer to your question.

Can you please check: zapkam dot com?

If you are referring to the site mentioned in your profile then please validate using the following:

What are the results when you use the following?

https://jigsaw.w3.org/css-validator/

I can’t see a ‘View Source’ option either, but Dev Tools shows things up just fine. If an audit tool can read your HTML though, I’d be willing to guarantee that a search engine can too.

Please check the #8 website. You can see the HTML by inspect elements But not by F12/View Source.

Audit tool is not reading the Heading tags. But these tags are present into a website.

Are they present in your original source code, or is the browser just making educated guesses about what should be there it when the file reaches it?

If you’re talking about zapkam, that site has a lot more problems to worry about other than SEO

https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.zapkam.com%2F

View-source shows

which suggests that page is a no-JavaScript page, but …

The page is virtually 100% JavaScript. There is no HTML to see. Nothing renders if JS is not enabled.

Yes, these tags are originally present in a website. (You can check by inspecting element)

Yes, You are right. Is there any way to show HTML in a view source.

Can you please let me know what other problems are there?

Not if there isn’t any.

I can only see the rendered version of the page in the browser - I cannot see the original source files as they may have to be interpreted before being sent to the browser.

There’s far more to this on the comments above from Ron and Mittineague