Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I open my “scratch pad” HTML file in my browser, I see all the HTML tags and coding, but not the HTML formatting. Whats going on?

0
Posted

When I open my “scratch pad” HTML file in my browser, I see all the HTML tags and coding, but not the HTML formatting. Whats going on?

0

This can happen when trying to save your HTML file in Notepad when display of file extensions is turned off. In Windows 98 and later versions of Windows, display of file extensions is turned off by default, presumably to try to make Windows more Mac-like (the Macintosh doesn’t use file extensions at all). The file extensions are still there, however — they’re just hidden. If file extensions are turned off and you try to save an HTML file, named mypage.html, for instance, with Text Documents selected in the “Save as type” box, what happens is that Windows appends a hidden “.txt” extension to the end of the file, with the resulting file name then being mypage.html.txt, for instance. There are two ways around this. One way is simply to select “All Files (*.*)” in the “Save as type” box before saving, which will stop Windows from adding the hidden “.txt” at end of the file name. The other way is to turn on display of file name extensions, which I think is a good idea, not just because of

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123