Commands in the HTML Code section

Step 4 - Pages > HTML Code Object >

Commands in the HTML Code section

Previous pageReturn to chapter overviewNext page

In this section you have an editor for including the HTML code that you want to add to a page.

The editor in the HTML Code box includes the following commands:

Cut [CTRL+X] - Copy [CTRL+C] - Paste [CTRL+V]

These options cut, copy and paste the selected text.

Undo [CTRL+Z] - Redo

These commands undo/restore the last operation to be carried out/undone.

To help write/read the code, the HTML editor offers:

automatic numbering of the lines of code;
Syntax highlighting. Thanks to this feature, certain elements of the code are highlighted with different colors, without changing the meaning of the text in any way;

As you can imagine, the addition of these features not only makes it easier to read the code, but it also helps to make the structure of the code clearer and more legible, and therefore easier to pinpoint mistakes.

The following options are available under Properties:

Width: this gives the width of the HTML Code Object; it is set automatically according to the space available in the page layout table.
Height: this option sets the height of the HTML Code Object.
Enable Automatic Height: if you select this option, the height of the Object is automatically calculated so that the entire contents of the Object can be displayed without having to show a scroll bar. This option is effective only if the Object is inserted in a line of the page layout table that does not contain other Objects.
Show Scrollbars: this option is active by default: a scroll bar is added automatically if the HTML Code Object is bigger than the value specified in the Height option.

 


Further information:

-

HTML, HTML5 & CSS