Base elements
This page describes some of the basic HTML elements available in your iMIS site. You can style these HTML elements within your theme. When working with styles, it is recommended that you use an in-browser developer tool to help you inspect page elements to determine which CSS you might need to modify. Your browser’s development tools are normally accessible by right-clicking a page element and selecting Inspect.
The following are the basic HTML elements included with iMIS:
Headings
Use heading tags <h1>
through <h6>
to structure the content of your web pages:
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
<h1>Heading 1</h1>
Paragraphs
Paragraphs are defined with a <p>
tag.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis odio quis ligula commodo lobortis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Praesent ut volutpat dui. Donec dapibus eu magna eu tristique.
Nam varius purus mauris, at suscipit ipsum imperdiet sit amet. Nulla interdum purus dui, id venenatis elit tristique in. Sed rhoncus convallis ipsum, id pretium enim imperdiet eu. Aliquam pretium euismod eros vitae dapibus. Donec a mi rutrum, ullamcorper velit in, commodo ipsum.
<p>...</p>
Links
Links are defined with an <a>
tag and have four states that you can style:
- Link
- Visited
- Hover
- Active
<a href="#">Example link</a>
Lists
Ordered lists begin with an <ol>
tag; unordered lists begin with a <ul>
tag:
- Ordered list item 1
- Ordered list item 2
<ol>
<li>Ordered list item 1</li>
<li>Ordered list item 2</li>
</ol>
- Unordered list item
- Unordered list item
<ul>
<li>Unordered list item</li>
<li>Unordered list item</li>
</ul>
Buttons
You can apply a standard button style to any element by using the .TextButton
class. However, it is recommended to use the .TextButton
class primarily with the <a>
, <button>
, and <input type="button" />
tags:
<a href="#" class="TextButton">a.TextButton</a>
<button class="TextButton">button.TextButton</button>
<input type="button" value="input.TextButton" class="TextButton"/>