SML Tag Reference
SML supports the most commonly used HTML tags, and introduces special tags for creating more advanced content.
HTML Tags Supported
List of HTML tags supported by SML
| Tag |
Purpose |
| <a> |
Creates a hyperlink to another page |
| <abbr> |
Indicates that a section of text is an abbreviation |
| <acronym> |
Indicates that a section of text is an acronym |
| <blockquote> |
Indicates that a section of the document is a long quote |
| <br /> |
Inserts a linebreak into the document |
| <caption> |
Specifies the caption for a table |
| <code> |
Indicates that a section of text is computer code |
| <div> |
Arbitrarily defines a section of the document |
| <dd> |
The definition part of a definition list item |
| <dl> |
Adds a definition list to the document |
| <dt> |
The term part of a definition list item |
| <form> |
Adds a form to the document |
| <h1> - <h6> |
Generates a heading: h1 is most important, h6 is least important |
| <hr /> |
Generates a horizontal rule across the page |
| <img> |
Adds an image to the document |
| <input> |
Adds a form control to the document |
| <label> |
Marks text as a label for a form control |
| <li> |
Adds a list item to the current list |
| <ol> |
Adds an unordered (numbered) list to the document |
| <p> |
Adds a paragraph to the page |
| <ul> |
Adds an unordered (bulleted) list to the document |
| <span> |
Arbitrarily defines a section of the document |
| <strong> |
Makes text strong, usually rendered as bold |
| <table> |
Adds a table to the page |
| <td> |
Add a cell to the current row of a table |
| <th> |
Add a heading cell to the current row of a table |
Advanced SML Tags
Advanced SML tags
| Tag |
Purpose |
| <ifloggedin> |
Restricts the display of content to users who are logged in to the website |
| <ifloggedout> |
Restricts the display of content to users who are not logged in to the website |
| <linktopage> |
Generates a link to a content page from its id |
| <linktoproduct> |
Generates a link to a product from its id |
|