Use the options in this section to manually edit the HTML code for the page you are working on.
▪ | File Name Format: indicates the format in which the page's file is to be saved. The default extension is .HTML, but you can choose from .PHP, .ASP, .CFM and .JSP. The Home page's index.html file can also be saved in a different format. You cannot change the format of locked files (see Locked in the website Map toolbar): it must remain .PHP. |
▪ | Custom Code: indicate where custom code is to be added in the page's HTML code: Before opening the HTML tag, After opening the HEAD tag, Before closing the HEAD tag, BODY tag property (ie style, onload, etc.) (that is, as part of the <BODY> tag, for example <BODY onload="alert('Hello!')">), After opening the BODY tag, Before closing the BODY tag. When you have decided where to add your custom code, type in or paste the section of code in the field. |
The Custom Code option is useful when, for example, you want to link particular style sheets (CSS) to the page, or when specific events are to take place when the page is uploaded. For some JavaScripts to work properly, you need to add the custom code lines in both the <HEAD> and <BODY> sections of the page's HTML file. JavaScripts can be added using the HTML Code Object. |
You can use the [CURPAGE] string to write custom code: the program will automatically replace it with the name of the file that corresponds to the current page. This is particularly useful for adding entries like those for the link rel="alternate" and link rel="canonical" tags (used to tell Google™ when you have different URLs for desktop and mobile versions of your website), or the link rel="alternate" hreflang="x" tag (used to tell Google™ when you have localized versions of the same website). |
Finally, the SiteMap Settings section includes options for working on the website's SiteMap:
▪ | Add this page to the Sitemap: this is selected by default, and adds the page to the website's SiteMap. |
▪ | Contents Priority: this gives a priority level to the page, indicating its importance in the website, with respect to other pages. This parameter is included in the SiteMap. |
▪ | Update frequency: specifies how often the page is to be updated. This parameter is included in the SiteMap. |