Notepad++ |
Notepad++ |
minidiapolis |
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?
|
pandy |
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.
|
pandy |
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.
|
minidiapolis |
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?
|
stjepan |
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!"
|
Lo-Fi Version | Time is now: 26th April 2024 - 12:17 PM |