Notepad++ just won't work for me?



  • My code isn’t working and nothing is highlighting like it does on my school laptops, its so weird nothings working.

    <DOCTYPE! html>

    <html>
    <body>

    <h1>Welcome</h1>
    <p1>This is a test run</p1>

    </body>
    </html>



  • I would guess you have just typed that into Notepad++ with no file attached. If you save the file in a file called test.html, then suddenly Notepad++ will ‘realise’ the file is HTML and colour it accordingly. Remember that Notepad++ can be used on many different types of files, and they all need highlighting differently.

    David


Log in to reply