All docs
V21.1
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

Templates for HTML

  • 2 minutes to read

This topic lists main HTML templates.

To access all CodeRush templates for HTML, open the Templates Options page, choose HTML, and expand the Raw HTML folder.

Expand t2x2 template

Tables

Template Description
c, d, .tc, .td Creates a table cell.
r, .tr, Creates a table row.
.tf Creates a table footer.
.th Creates a table header.
.thf Creates a table with header and footer.

You can also use the .t?TableRows?x?TableColumns? template to create an HTML table.

In this template:

  • The ?TableRows? parameter is the number of table rows.
  • The ?TableColumns? parameter is the number of table columns.

For example, to create an HTML table with two rows and two columns, expand the .t2x2 template.

Expand t2x2 template

Structure

Template Description
.b, .p, Creates a break element.
.d Creates a div tag that is used to define a division or section in an HTML document.
Template Description
.a, .hl, Creates a hyperlink (the <a> tag).

Lists

Template Description
.li Creates a <li> tag that is used to define a list item.
.lb, .ddl Creates a ListBox element (the <ul> tag).
.ul Creates an unordered list element (the <ul> tag).

Inputs

Template Description
.bn Creates a Button element.
.cb Creates a CheckBox element.
.tb Creates a TextBox element.
.o Creates an Option element.
.rb Creates a RadioButton element.