Menu

notepad++ new file, how do i arrange

deot pit
2009-06-27
2012-11-13
  • deot pit

    deot pit - 2009-06-27

    When creating new html page i want the following rows to appear immediately for each new file:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    how can i arrange that ?
    Thanks

     
    • cchris

      cchris - 2009-06-27

      Make a macro with your text, save it, and run it on any new html file you create.
      You can, with only minimal effort, add

      <body>

      </body></html>

      and then have cursor go up to the blank middle line, so as to start typing on the spot.

      CChris

       
MongoDB Logo MongoDB