Вход | Регистрация | FAQ
Anonymous

Issues with Notepad++

+ Ответить

Сообщений: 6 Страница 1 из 1


Issues with Notepad++

matatat » Ср ноя 15, 2017 6:21 pm

I'm completely new to coding and have literally just started.

I created a HTML test page in Notepad++ and ran it with Chrome via the built-in feature (it's the shortcut ctrl+alt+shift+r). The page just displays as the HTML code, rather than the result it should be.

I'll paste what I've done so far:

Код: Выделить всё
<!DOCTYPE html>
<html>
   <head>
      <title>This is a test!</title>
   </head>
   <body>
      <p>Hello there. Click <a href="google.co.uk">this!</a></p>
   </body>
</html>


Can anyone see what's wrong?
Thank you
Аватара пользователя

matatat

  • Сообщения: 1
  • Зарегистрирован: Ср ноя 15, 2017 6:17 pm

Re: Issues with Notepad++

nanoverso » Ср ноя 15, 2017 11:20 pm

Looks like this is not the correct way of opening a html file in Chrome, try: "Ctrl+O" - Open a file in the browser.
Аватара пользователя

nanoverso

  • Сообщения: 253
  • Зарегистрирован: Сб май 10, 2014 12:08 am
  • Откуда: Brazil

Re: Issues with Notepad++

johnthan » Вт ноя 21, 2017 1:19 pm

Working on notepad or notepad++, you should save the file in html.

Whatever you write in notepad it saves as a text file. (filename.txt)
Here you need to save the same file in html like. (filename.html) Just put (.html) with your file name to be able to see it on any browser.

So, whenever you visit the file it will open in the browser as html file. To edit it you can anytime open it in text editor. Just right click and open it with notepad++ or notepad. And always save it as html file.
Аватара пользователя

johnthan

  • Сообщения: 5
  • Зарегистрирован: Вт ноя 21, 2017 1:03 pm

Re: Issues with Notepad

Chikwado » Вт дек 19, 2017 12:28 pm

After Saving Your File Giving It Extension As .html or .htm. Then, There Is No Need To Use Hot Key. Simple Double Click On Your File To Open It.
Аватара пользователя

Chikwado

  • Сообщения: 89
  • Зарегистрирован: Пн июл 29, 2013 11:36 pm
  • Откуда: Nigeria
--
Focus On Advance Science And Programming.

Re: Issues with Notepad++

taynguyenem » Пт фев 23, 2018 5:04 am

Hi my friend.

Notepad is not problem.
Аватара пользователя

taynguyenem

  • Сообщения: 15
  • Зарегистрирован: Пн фев 05, 2018 3:28 pm
--
Preview site only Html: teamviewdownload.com, winrarfree.net

Re: Issues with Notepad++

redmetalengineers » Ср мар 14, 2018 7:45 am

try saving your file in .html extension
Engineering Lab Equipment | Fluid Mechanics Lab Equipment Manufacturer
Аватара пользователя

redmetalengineers

  • Сообщения: 4
  • Зарегистрирован: Пн ноя 27, 2017 11:50 am


+ Ответить

Страница 1 из 1