show my plain HTML source

show my plain HTML source

Why does the browser show my plain HTML source?

View Answers

November 2, 2010 at 3:26 PM

Hi,

Here is the answer,

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 filesystem, 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:
show my plain HTML source
show my plain HTML source  Why does the browser show my plain HTML source
browser show my plain HTML source.
browser 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
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
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> <
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
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
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... Use of an image : We try to show you how to insert an image in HTML
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
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
HTML Editor Open Source
HTML Editor Open Source Bluefish  HTML Editor Bluefish...).     Open Source HTML Editor for Linux and Windows Nvu... at the screenshots, or download it right away. Bluefish is an open source development
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
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  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
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
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 in HTML. The following tags used in code to create tag inside table in HTML... Tag Inside Table in HTML     
HTML code
HTML code  How do I keep people from stealing my source code and/or images
HTML
HTML  What is HTML? What is a Hypertext link
HTML
HTML  What is HTML? What is a Hypertext link
Html
Html  What is HTML? What is a Hypertext link
HTML
HTML  What is BODY in HTML document
html
html  diffrence between html and xml
html
html  How to add the calendar in html code
html
html   HTML document with Javascript to count the number of vowels... HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD>... NAME="submit" TYPE=Button VALUE="Show Me" onClick="MsgBox(form.text1.value)">
html
add a header in the html page  what we can do to add a header in the html page
interpreted as part of my document
interpreted as part of my document  How can I show HTML examples without them being interpreted as part of my document
interpreted as part of my document
interpreted as part of my document  How can I show HTML examples without them being interpreted as part of my document
HTML
HTML  How do we specify page breaks in HTML
HTML
HTML  What is a tag? How can we use MARQUEE in HTML
html
html  how to convert html page into jsp page
html
html  i want a registration page in html with good background

Ads