The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Notepad++
minidiapolis
post Jan 18 2007, 04:33 PM
Post #1


Serious Coder
*****

Group: Members
Posts: 437
Joined: 3-September 06
Member No.: 57



Hi, if I click view, source, when it opens in notepad ++ the html tags are in different colors from the plain text. However, the minute I save the file or start a new file, the html tags aren't in different colors. What's wrong?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 18 2007, 09:35 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,731
Joined: 9-August 06
Member No.: 6



Does the file have and .html extension when you view sopurce? If not, save as xxx.html. Same when you paste the text into a new document.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 18 2007, 09:39 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,731
Joined: 9-August 06
Member No.: 6



Come to think of it, isn't Notepad++ based on SciTE? I don't have it ATM but IIRC it is. Then there probably is a menu where you can choose the language for the syntax highlighting.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
minidiapolis
post Jan 19 2007, 11:02 AM
Post #4


Serious Coder
*****

Group: Members
Posts: 437
Joined: 3-September 06
Member No.: 57



Saving it with the html fixed it, thanks so much! This might be a stupid question but since I save it with the html extension, does it matter if the website is http://www.cs.iupui.edu/~mjsmith/resume or http://www.cs.iupui.edu/~mjsmith/resume.html?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
stjepan
post Jan 21 2007, 09:09 AM
Post #5


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



Someone said: "As long as the MIME type on the server says it's an HTML file, you can have any extension be an HTML file... Alternatively, you can have a .html file that has an incorrect MIME type associated with it, and gets treated as text!"
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 12:17 PM