browser show my plain HTML source.

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.









Related Tutorials/Questions & Answers:
browser show my plain HTML source.
browser show my plain HTML source.   Why does the browser show my plain HTML source
show my plain HTML source
show my plain HTML source  Why does the browser show my plain HTML source
Advertisements
HTML title show up
HTML title show up  Why doesn't my title show up when I click "check it out
HTML on a single browser
HTML on a single browser  My page looks good on one browser, but not on another
show_source() example.
show_source() The show_source() function works similar to highlight_file..._TO_REPLACE_1 Syntax show_source (filename, return) Note: This function...;"> <?php if ( isset( $file ) ) show_source( $file ) or print "
HTML source not viewable
HTML source not viewable  Is it possible to make the HTML source not viewable
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
special characters in my HTML
special characters in my HTML  How do I get special characters in my HTML
special characters in my HTML
special characters in my HTML  How do I get special characters in my HTML
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
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
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
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> <
to run html code in web browser - JSP-Servlet
to run html code in web browser  how to run jsp file which calls html file on web browser??  Hi Friend, Try the following code: 1)form.jsp: Enter Name: 2)welcome.html: Add Profile Edit
Show Hyperlink in HTML Page
Show Hyperlink in HTML Page   ... in HTML.The HTML code show you a HTML page, that create a link to another page... to the browser that this is an HTML document.ADS_TO_REPLACE_2 <head> : The head tag
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
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
Open Source Browser
Open Source Browser Building an Open Source Browser One... browser. Based on KHTML and KJS from KDE's Konqueror open source project.... Mozilla set to release open-source browser The latest challenger
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
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
HTML Editor Open Source
HTML Editor Open Source Bluefish  HTML Editor Bluefish...).     Open Source HTML Editor for Linux and Windows Nvu.... It supports all of the HTML your browser does and can edit all of it. The project has
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
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
browser
browser  how to make a browser
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
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
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
SWT Browser
Browser implements the browser and allows the user to navigate through HTML... SWT Browser       This section shows you SWT Browser In SWT, the class Browser of package
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... extension. Place the path of saved html code in URL of your browser. Output... Tag Inside Table in HTML     
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 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
how do i update my database with the help of update syntax in html <text/javascript>? How to write 'where' statement in this?
how do i update my database with the help of update syntax in html ? How to write 'where' statement in this?  var sqlmek="update into Student_info... Source = C:/Aptech/dhruv/SMS.mdb"; alert('Hello!'); var rs = new
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
HTML File Upload
; HTML File Upload is used to show the list of all file, when a user click... which show you a  <input type="text"> :In HTML,the type... on the browser is displayed as ADS_TO_REPLACE_3 Download Source
html
html  Create a web page with the following using HTML i) To embed an image map in a web page ii) To fix the hot spots iii) Show all the related information when the hot spots are clicked.please reply me sir
jQuery to Show Data Randomly
that Show Data Randomly  from server and displays on the user browser... jQuery to Show Data Randomly      ... the Data Show Randomly Step 1:  ADS_TO_REPLACE_2      ADS
HTML
. Using HTML we can create a Web Page which can be viewed through a Web Browser... HTML File Upload is used to show the list of all file, when a user... we define a HTML page and show you to create a tag inside a Table in HTML
source
source  how to pass the morethan one fields from one page to another page in struts1.2? i am using tchnologies are struts1.2 oracle 10g myecllipse 8.6 so please post the exact source code to support the above technologies
Source code
Source code  source code of html to create a user login page
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
HTML
HTML  What is Semantic HTML? What are the reasons for validating a HTML
HTML
HTML  What is Semantic HTML? What are the reasons for validating a HTML
HTML
HTML  What is SPAN in HTML
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
HTML form example
HTML form example In this section we will develop HTML form example and show... language, which runs on the web browser. The HTML form is used in dynamic web... input from the user. In this example code we will show you to make HTML form

Ads