You are here: PSPad forum > English discussion forum > Re: default html code

Re: default html code

#1 default html code

Posted by: ronbo | Date: 2019-03-07 08:01 | IP: IP Logged

When starting an HTML document the default html code is using the doctype for html 4. Where do I edit this to change the doctype to html 5?

Options: Reply | Quote | Up ^


#2 Re: default html code

Posted by: pspad | Date: 2019-03-07 09:17 | IP: IP Logged

Hello

It's template file Default.html in the subfolder Template

If you have PSpad installed in program files, you will need to run it as administrator to have rights to write there.

Easier way how to edit template:
Ctrl+N (new file)
Second tab - templates
Choose Default under HTML and button Modify

Options: Reply | Quote | Up ^


#3 Re: default html code

Posted by: ronbo | Date: 2019-03-07 16:18 | IP: IP Logged

Thanks, that worked!

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2019 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR