browser show my plain HTML source.

Ads
 

browser show my plain HTML source.

Why does the browser show my plain HTML source?

View Answers

November 3, 2010 at 11:17 AM

Hi friends,

If Microsoft Internet Explorer displays your document normally, but other browsers display your plain HTML source, then most likely your web server is sending the document with the MIME type "text/plain". Your web server needs to be configured to send that filename with the MIME type "text/html". Often, using the filename extension ".html" or ".htm" is all that is necessary. If you are seeing this behavior while viewing your HTML documents on your local Windows file system, then your text editor may have added a ".txt" filename extension automatically. You should rename filename.html.txt to filename.html so that Windows will treat the file as an HTML document.

Thanks.

Ads









Related Tutorials/Questions & Answers:
Show results in HTML
as one value, trichy as one value. and i have to show it in html. how to do...Show results in HTML  Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram
Show pdf's in web browser by using jsp?
Show pdf's in web browser by using jsp?  Hi, I want to display pdf file in browser by clicking the link, available in JSP page. When am trying to do this by using Anchor tag with absolute path, it is showing the error as: Http
Advertisements
Open Source HTML
Open Source HTML HTML Tidy Library Project A quorum of developers have pitched in on a Source Forge project to maintain and further...;   Open Source HTML Parsers in Java NekoHTML is a simple HTML
Hide show HTML forms using javascript
Hide show HTML forms using javascript  How to hide a HTML form in my application using JavaScript?   HTML Code to create checkbox <input type="checkbox" onclick="display(this)">Add more users</input> <
ModuleNotFoundError: No module named 'lp-show-my-bugs'
ModuleNotFoundError: No module named 'lp-show-my-bugs'  Hi, My... named 'lp-show-my-bugs' How to remove the ModuleNotFoundError: No module named 'lp-show-my-bugs' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'show_my_designs'
ModuleNotFoundError: No module named 'show_my_designs'  Hi, My... named 'show_my_designs' How to remove the ModuleNotFoundError: No module named 'show_my_designs' error? Thanks   Hi, In your python
Show Hyperlink in HTML Page
Show Hyperlink in HTML Page   ... with Example The Tutorial illustrates an example that show you a Link in HTML.The HTML code show you a HTML page, that create a link to another page. The code begins
View source code of a html page using java ..
View source code of a html page using java ..  I could find the html source code of a web page using the following program, http://download.oracle.com/javase/1.4.2/docs/api/java/net/URLConnection.html i could get the html code
retrieve record from table and show it in HTML
retrieve record from table and show it in HTML  Hi. I have a field... as single values like chennai as one value, trichy as one value. and i have to show it in html. how to do
give me source code of webpage creation using html
give me source code of webpage creation using html  how to create a webpage using html
Fetched Record from database show into text field of html page
Fetched Record from database show into text field of html page  hi, i..., and also have html page with all above mentioned field i have submit 20 record from front end of html file to my database like that 001 sajal Noida North 002
mini project using html,javascript and ms access with source code
mini project using html,javascript and ms access with source code  I want a mini project which uses html and java script and backend as ms access with source code. plz send its important and urgent
browser
browser  how to make a browser
ModuleNotFoundError: No module named 'plain'
ModuleNotFoundError: No module named 'plain'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'plain' How to remove the ModuleNotFoundError: No module named 'plain'
how to retrieve image from mysql database using java and show it in HTML img tag ?
how to retrieve image from mysql database using java and show it in HTML img tag ?  how to retrieve image from mysql database using java and show it in HTML img tag
Understanding HTML
and presentations of a web document (web page). HTML documents are plain-text...Understanding HTML In this unit we are going to learn some basic of hyper text markup language which is used to write HTML. Once you create an HTML
browser
browser  hello this is saurav srivastav, thank you for sending the cvode for creating the menu item, but I want the code for file open and save frame in the swing because I am working on my project Browser and one more problem
Adding image to database through jsp or HTML page ,while adding only image should show.
Adding image to database through jsp or HTML page ,while adding only image should show.   Adding image to database through jsp or HTML page,while adding only image should show. After that i need view that uploaded image from
SASLError using PLAIN: not-authorized
SASLError using PLAIN: not-authorized  Hi, While connecting the ejabbered following error is coming: SASLError using PLAIN: not-authorized Thanks...); SASLAuthentication.unBlacklistSASLMechanism("PLAIN"); SASLAuthentication.blacklistSASLMechanism
Tag Inside Table in HTML
in HTML.In this code we define a HTML page and show you to create a tag inside a Table... with <li> ,which marks with a bullet in HTML page. Source Code  ... Tag Inside Table in HTML     
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back
ModuleNotFoundError: No module named 'plain-logger'
ModuleNotFoundError: No module named 'plain-logger'  Hi, My Python... 'plain-logger' How to remove the ModuleNotFoundError: No module named 'plain-logger' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'plain_obj'
ModuleNotFoundError: No module named 'plain_obj'  Hi, My Python... 'plain_obj' How to remove the ModuleNotFoundError: No module named 'plain... have to install padas library. You can install plain_obj python with following
ModuleNotFoundError: No module named 'voila-plain'
ModuleNotFoundError: No module named 'voila-plain'  Hi, My Python... 'voila-plain' How to remove the ModuleNotFoundError: No module named 'voila-plain' error? Thanks   Hi, In your python environment
how to retrieve text and images from mysql database and show on html page using jsp servlet
how to retrieve text and images from mysql database and show on html page using jsp servlet  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> Insert title here h3
Source code
Source code  source code of html to create a user login page
HTML File Upload
HTML File Upload       HTML File Upload is used to show the list of all file, when a user click... an example from HTML File Upload. In this code, we create a html page which show you
html
html  For what is used HTML?   Using HTML we can create a Web Page which can be viewed through a Web Browser over Internet. HTML describes... or the End Tag is defined as </> . The whole HTML document is enclosed
ModuleNotFoundError: No module named 'behave-plain-color-formatter'
ModuleNotFoundError: No module named 'behave-plain-color-formatter'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'behave-plain-color-formatter' How to remove
ModuleNotFoundError: No module named 'behave-plain-color-formatter'
ModuleNotFoundError: No module named 'behave-plain-color-formatter'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'behave-plain-color-formatter' How to remove

Ads