<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NOTEPAD++ TEXT STAYS THE SAME WHEN VIEWED IN BROWSER]]></title><description><![CDATA[<p dir="auto">I just recently started learning how to write in html and css so for the starters I decided to write a simple code and planned to expand from it as I learned. As you see I wrote simple text with not much place for error and wanted to view how does it look in a browser before writing anything serious. Alas viewing or even running the code on any browser didn’t seem to do much, and the text stayed looking the same as it did when writing it on notepad++. I’ve checked the code on <a href="https://codepen.io" rel="nofollow ugc">https://codepen.io</a> and the visualization of code was proper on there so the problem must be with the notepad it self I guess? Any advice?? I’m using Windows 10, 64-bit.<br />
<img src="/assets/uploads/files/1612603561225-image_2021-02-06_112600.png" alt="image_2021-02-06_112600.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1612603617724-image_2021-02-06_112656.png" alt="image_2021-02-06_112656.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20694/notepad-text-stays-the-same-when-viewed-in-browser</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 12:34:50 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20694.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 06 Feb 2021 09:29:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NOTEPAD++ TEXT STAYS THE SAME WHEN VIEWED IN BROWSER on Sat, 06 Feb 2021 13:01:15 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for insight guys! I guess I’ll be paying attention to what type of file I am saving Ha ha ha. Cheers!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62533</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62533</guid><dc:creator><![CDATA[Newbie104]]></dc:creator><pubDate>Sat, 06 Feb 2021 13:01:15 GMT</pubDate></item><item><title><![CDATA[Reply to NOTEPAD++ TEXT STAYS THE SAME WHEN VIEWED IN BROWSER on Sat, 06 Feb 2021 12:20:54 GMT]]></title><description><![CDATA[<p dir="auto">Here’s what I see for what went wrong for OP.</p>
<p dir="auto">OP started writing his file in a <code>new 2</code> (example) tab in Notepad++.</p>
<p dir="auto">At some point OP saved his file (e.g. Ctrl+s) and was prompted to save as <code>new 2.txt</code>.  That entire filename was highlighted.  OP didn’t want that name so OP overtyped with <code>experimentas</code> and pressed the <em>Save</em> button.  Note that no extension was specified and the <em>Save as type</em> box said <code>Normal text file (*.txt)</code>.</p>
<p dir="auto">Notepad++ correctly saved the file as <code>experimentas.txt</code>.  OP didn’t notice the <code>.txt</code> or didn’t know he should care about that (new to Windows?/computers?).</p>
<p dir="auto">At some point after this, OP set the <em>Language</em> of the file, probably to HTML.  Otherwise, we wouldn’t see the syntax highlighting shown in the screenshot.</p>
<p dir="auto">OP then requested the file be shown in a browser.  As Terry indicates, the browser correct displays the file as text, because of the <code>.txt</code> extension on the file.</p>
<p dir="auto">Correct OP behavior would have been either to (a) set the <em>Language</em> before saving (in which case <em>Save as type</em> would have been displayed as “Hyper Text Markup Language”, and the extensionless file specified would have gotten <code>.html</code> added automatically) or (b) specify <code>experimentas.html</code> directly for the <em>File name</em>.</p>
<p dir="auto">Note: The above would be a bit different if the OP had <em>Set Save dialog extension filter to .* instead of .txt for Normal Text</em> ticked in the <em>Preferences</em>, but that is not the default setting.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62531</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62531</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 06 Feb 2021 12:20:54 GMT</pubDate></item><item><title><![CDATA[Reply to NOTEPAD++ TEXT STAYS THE SAME WHEN VIEWED IN BROWSER on Sat, 06 Feb 2021 09:56:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/21116">@Newbie104</a> said in <a href="/post/62527">NOTEPAD++ TEXT STAYS THE SAME WHEN VIEWED IN BROWSER</a>:</p>
<blockquote>
<p dir="auto">so the problem must be with the notepad</p>
</blockquote>
<p dir="auto">No, the problem is you saved it as a <code>txt</code> file. HTML file is text but with a different extension, generally <code>htm</code> or <code>html</code>. Notepad did exactly what you asked of, so no fault there.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62528</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62528</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Sat, 06 Feb 2021 09:56:35 GMT</pubDate></item></channel></rss>