Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa HTML show my plain HTML source
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
show my plain HTML source
1 Answer(s)      4 years ago
Posted in : HTML


Why does the browser show my plain HTML source?


Advertisement
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... Syntax show_source (filename, return) Note: This function displays the entire...;?php if ( isset( $file ) ) show_source( $file ) or print "can not be open
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
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
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> <
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   ... 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
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
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
Plain Text Editor in PHP Program
Plain Text Editor Plain text editor is unlike any other editor, which is used... to create or edit plain text files including .txt, .php and many others. This type of plain text editors only saves the text document that means only text
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
I want Mini Java Project for Student Admission System. actually i want 2 know how 2 start this...please show me my way.....
I want Mini Java Project for Student Admission System. actually i want 2 know how 2 start this...please show me my way.....  I want Mini Java Project... show me my way
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  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
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
my question
my question   "Write a C/C++ program to show the stored procedure PROCRESETMAIL" on database "USER_NOTIFY
my question
my question   "Write a C/C++ program to show the stored procedure PROCRESETMAIL" on database "USER_NOTIFY
Advertisements
 

 

 

DMCA.com