HTML

From Tygron Support wiki
Jump to navigation Jump to search
This article is a stub.

Template:Learned

HTML

HTML stands for HyperText Markup Language. It is a language used to indicate how text or content should be laid out for display. Along with Cascading Style Sheets (CSS), it is generally used for styling webpages.

How HTML relates to the Tygron Engine

In the Tygron Engine, there are a number of places where the user is responsible for providing text and information. When that information can be complex, such as the Excel output for an Excel Indicator, the Engine allows HTML to be used for determining how the information should be laid out. The Engine is effectively HTML5 compliant for these purposes.

How HTML is structured

HTML consists of a number of elements, which are demarked by two tags: an opening and a closing tag. The opening tag indicates where an element starts, and the closing tag indicates where an element finishes. Each tag consists of a word or a few characters, enclosed by less-than and greater-than characters (< and >). A closing tag has an additional slash in it to indicate its a closing tag. For example, a full element is constructed as follows: <element>hello!</element>.

Elements can also have attributes. Attributes configure or fine-tune the behavior of the elements. <a href='www.example.com'>Link to another site</a>

There are also tags which are used by themselves, and do not require a closing tag. These are elements like <br>, which insert a linebreak in the layout at the location of the element.

Using HTML

The full span of the capabilities of HTML extends far beyond the scope of this wiki. Instead, some basic elements will be explained here which will allow you to tackle most formatting challenges. For further information regarding HTML, CSS and javascript, please refer to other online information sources.

Text formatting

For basic text styling, a number of elements exist.

Paragraph: <p>

Horizontal rule: <hr>

Headers: <h1>, <h2>, etc

Table: <table>

Styling

Width, Height

Align

Colors