Typography

Good typography on a website enhances readability, aesthetics, and user experience. Key practices include using clear, readable fonts, differentiating text with varied sizes and styles, maintaining consistency, ensuring contrast, utilizing ample white space, aligning text uniformly, and keeping line lengths and spacing reasonable. These practices lead to a more engaging and user-friendly website.

In Sitefinity

Within the Sitefinity Content Management System we’ve adopted a consistent use of the same fonts, sizing, color and formatting options so as users are building the website content, there is a cohesive, recognizable brand-standard.

Every content module is carefully crafted to support and reflect these styles.

The Basics

UTMB has a long-standing history and a recognizable brand. In 2010 the current logo and brand standards were adopted by the institution. The fonts chosen as a brand standard were not supported by web browsers and would not render online.

So, the web branding team began the search for font faces which would look similar to the brand “print font” yet also meet the needs specific to good typography use on our digital channels.

The Web Fonts

The team chose Roboto as our primary (sanserif) font! Using Roboto as the font on our websites offers several advantages:

  • Legibility: Designed with geometric forms and open curves, Roboto provides excellent readability on both small and large screens.
  • Versatility: Roboto includes multiple weights and styles, making it suitable for various uses, from body text to headings.
  • Modern Aesthetic: With its clean, contemporary look, Roboto is ideal for modern web design.
  • Google Fonts: Available for free on Google Fonts, it's easy to implement and ensures consistent rendering across different browsers and devices.
  • Performance: Optimized for web use, Roboto loads quickly, enhancing site performance.
  • Compatibility: Pairs well with other fonts, allowing for flexible design options.
  • Wide Adoption: As a popular choice, it benefits from familiarity and a professional appearance.

For some of the same reasons listed above, EB Garamond was chosen as the serif font option. Additionally, these benefits stood out for EB Garamond:

  • Classic Aesthetic: It provides a timeless, elegant look, enhancing the overall visual appeal.
  • Consistency: As a well-crafted serif font, it maintains a consistent style, adding to the site's professional appearance.

Roboto

Default Styles: Headings are condensed, paragraphs are sanserif

No Class

The quick brown fox jumps over the lazy dog.

<h3>Test H3 tag</h3>
<p>The quick brown fox jumps over the lazy dog.</p>

Sanserif

The quick brown fox jumps over the lazy dog.

<h3><span class="sans-serif">Test H3 tag</span></h3>
<p><span class="sans-serif">The quick brown fox jumps over the lazy dog.</span></p>

Condensed

The quick brown fox jumps over the lazy dog.

<h3><span class="condensed">Test H3 tag</span></h3>
<p><span class="condensed">The quick brown fox jumps over the lazy dog.</span></p>

Light

The quick brown fox jumps over the lazy dog.

<h3><span class="type-light">Test H3 tag</span></h3>
<p><span class="type-light">The quick brown fox jumps over the lazy dog.</span></p>

Black

The quick brown fox jumps over the lazy dog.

<h3><span class="text-black">Test H3 tag</span></h3>
<p><span class="text-black">The quick brown fox jumps over the lazy dog.</span></p>

Monospace

The quick brown fox jumps over the lazy dog.

<h3><span class="monospace">Test H3 tag</span></h3>
<p><span class="monospaced">The quick brown fox jumps over the lazy dog.</span></p>

EB Garamond

Serif
The quick brown fox jumps over the lazy dog.

<h3 class="serif">Serif</h3>
<p class="serif">The quick brown fox jumps over the lazy dog.</p>

The HTML Elements & CSS Classes

Using the proper HTML element (or tag) is essential for several reasons. They provide semantic clarity and improve readability by differentiating different content types.

These tags also enhance accessibility, as assistive technologies can accurately interpret the material. Additionally, they allow for consistent styling and formatting via CSS, and contribute to better SEO by helping search engines understand the content structure.

Overall, HTML tags ensure a clear, accessible, and well-structured presentation of all website content.

Headings Tags

HTML headings are used to define the hierarchical structure of content on a web page. They range from <h1> to <h6>, with <h1> being the highest or most important level, used for the main title or top-level heading of the page. Here is a quick breakdown:

  • <h1>: Main title or top-level heading
  • <h2>: Section headings
  • <h3>: Subsection headings
  • <h4>: Sub-subsection headings
  • <h5>: Further subdivisions
  • <h6>: Smallest level of heading

Headings are not simply used as a design element; they should convey meaning and server to organizing the information on all webpages. The heading structure on a web page is like the outline of a book or a well-organized document. It helps both people and computers understand and navigate the content more easily.

Here’s why headings are important:

  • They make reading easier by breaking text into sections, help users quickly find information, and improve navigation, including those using screen readers.
  • Proper headings also boost SEO, helping your page rank higher in search results.
  • Additionally, headings show the importance of different sections, helping readers understand the hierarchy of information.

In essence, headings make web pages clearer, more accessible, and user-friendly.

How to use Headings

Using HTML headings involves placing the appropriate heading tags around the text you want to designate as a heading.

  1. Choose the Correct Heading Level: Decide which level of heading is appropriate for your content. Use <h1> for the main title, <h2> for main sections, <h3> for subsections, and so on.
    • Always begin a page with Heading 1
    • Each page should have only one Heading 1, serving as a page title that is descriptive and relatively short
  2. Maintain Hierarchical Order: Make sure to use the headings in a hierarchical order. Do not skip levels (e.g., do not jump from <h1> to <h3> without using <h2>).
    • Headings indicate meaning, a change in section or topic, and illustrate the information hierarchy or grouping by section
  3. Use Headings for Structure, Not Styling: Headings should be used to structure your content logically, not just to make text bigger or bolder. Use CSS for styling purposes.
Correct: 
  • Heading 1 (page title): UTMB Disaster Guide
    • Heading 2: Flood preparation
      • Heading 3: Water storage
      • Heading 3: Sandbags
    • Heading 2: Fire preparation
    • Heading 2: Evacuation plan
      • Heading 3: Fire extinguishers
      • Heading 3: Rope Ladders
Incorrect: 
  • Heading 2: UTMB Disaster Guide
  • Heading 1: Flood preparation
    • Heading 3: Water Storage
    • Heading 3: Sandbags
  • Heading 1: Fire Preparation
    • Heading 2: Evacuation plan
      • Heading 3: Fire extinguishers
        • Heading 4: Rope ladders

Default Heading Styles

H1 Heading

H2 Heading

H3 Heading

H4 Heading

H5 Heading
H6 Heading
<h1>H1 Heading</h1>
<h2>H2 Heading</h2>
<h3>H3 Heading</h3>
<h4>H4 Heading</h4>
<h5>H5 Heading</h5>
<h6>H6 Heading</h6>

Paragraph Tag

Paragraph tags (<p>) are crucial in HTML for defining paragraphs, enhancing readability with automatic spacing, improving accessibility for assistive technologies, allowing consistent styling via CSS, aiding SEO through better content structure, and organizing content for easier management and updates.

Basic Paragraph

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut eleifend neque. Aliquam erat volutpat. Aliquam convallis mollis mattis. Nunc sapien ante, semper sit amet luctus laoreet, blandit interdum lorem.

Aenean id odio sit amet quam scelerisque facilisis. Nam nec vulputate eros, porttitor faucibus felis. Donec dictum ipsum nisl, interdum aliquam nulla posuere id.

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut eleifend neque. Aliquam erat volutpat. Aliquam convallis mollis mattis. Nunc sapien ante, semper sit amet luctus laoreet, blandit interdum lorem.</p>
<p>Aenean id odio sit amet quam scelerisque facilisis. Nam nec vulputate eros, porttitor faucibus felis. Donec dictum ipsum nisl, interdum aliquam nulla posuere id.</p>

Lead Paragraph

I'm a lead paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut eleifend neque. Aliquam erat volutpat. Aliquam convallis mollis mattis. Nunc sapien ante, semper sit amet luctus laoreet, blandit interdum lorem.

Aenean id odio sit amet quam scelerisque facilisis. Nam nec vulputate eros, porttitor faucibus felis. Donec dictum ipsum nisl, interdum aliquam nulla posuere id.

<p class="lead">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut eleifend neque. Aliquam erat volutpat. Aliquam convallis mollis mattis. Nunc sapien ante, semper sit amet luctus laoreet, blandit interdum lorem.</p>
<p>Aenean id odio sit amet quam scelerisque facilisis. Nam nec vulputate eros, porttitor faucibus felis. Donec dictum ipsum nisl, interdum aliquam nulla posuere id.</p>

BlockQuote Tag

Quote tags (<q> or <blockquote>) should be used instead of paragraph tags (<p>) when indicating quotations. They provide semantic meaning, default styling that distinguishes quoted text from regular paragraphs, and enhance accessibility and SEO. For example, <blockquote> often adds indentation and may apply a different font style. Using the appropriate tags ensures clean, well-structured HTML that is easier to manage and maintain.

The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element.

<blockquote cite="#">
    <p class="uk-margin-small-bottom">
        The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element.
    </p>
    <footer>
        Someone famous in <cite><a href="#">Source Title</a></cite>
    </footer>
</blockquote>

In-line Add-ons & Classes

Italics or Emphasis

Use the <em> tag to emphasize text, typically rendering it in italics. It provides semantic meaning, indicating that the enclosed text should be stressed or given importance, which enhances accessibility and SEO. It is ideal for highlighting key words or phrases within a paragraph.

The quick brown fox jumps over the lazy dog.

<p><em>The quick brown fox jumps over the lazy dog.</em></p>

Bold or Strong

Use the <strong> tag to indicate text that is of strong importance or urgency. It typically renders the text in bold. This tag provides semantic meaning, enhancing accessibility and SEO by emphasizing the significance of the enclosed text. It's ideal for highlighting critical information within content.

The quick brown fox jumps over the lazy dog.

<p><strong>The quick brown fox jumps over the lazy dog.</strong></p>

Underline

The <u> tag, which underlines text, is generally discouraged because it can be confused with hyperlinks. Instead, use CSS for underlining when linking or opt for other tags like <em> or <strong> for emphasis. This approach improves clarity and maintains better accessibility and usability.

Small

Use the <small> tag to indicate text that is less significant, such as disclaimers, legal text, or fine print. It typically renders the text in a smaller font size, providing a way to de-emphasize certain content while still keeping it readable.

The quick brown fox jumps over the lazy dog.

<p><small>The quick brown fox jumps over the lazy dog.</small></p>

Strikethrough

The <strikethrough> tag, often represented as <s> in HTML, is used to visually strike through text, indicating that it is no longer valid or has been removed, while keeping it visible. It's commonly used in editing, price changes, correcting information, showing rejected ideas, and crossing out errors in documents and web content.

Using the <strikethrough> tag excessively or inappropriately can clutter your content and confuse readers. It's important to use it judiciously and in contexts where clarity and readability are maintained. Overuse can make your text harder to follow and diminish its overall impact. It's generally discouraged to use <strikethrough> for stylistic purposes or in situations where it may distract from the main message of your content.

Code

The <code> tag in HTML is used to display snippets of computer code within web content. It's essential for presenting code examples clearly, highlighting commands or variables, and improving accessibility in technical documentation and tutorials.

The quick brown fox jumps over the lazy dog.

<p>The quick brown fox <code>jumps</code> over the lazy dog.</p>

Pre

Use the <pre> tag to display preformatted text with preserved spaces and line breaks. It’s ideal for showing code snippets, maintaining text formatting (like in poems or ASCII art), displaying tabular data, and presenting logs or error messages. This tag ensures the text appears exactly as written in a fixed-width font.

<pre>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut eleifend neque. Aliquam erat volutpat. Aliquam convallis mollis mattis. Nunc sapien ante, semper sit amet luctus laoreet, blandit interdum lorem.</p>
<p>Aenean id odio sit amet quam scelerisque facilisis. Nam nec vulputate eros, porttitor faucibus felis. Donec dictum ipsum nisl, interdum aliquam nulla posuere id.</p>
</pre>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut eleifend neque. Aliquam erat volutpat. Aliquam convallis mollis mattis. Nunc sapien ante, semper sit amet luctus laoreet, blandit interdum lorem.</p>
<p>Aenean id odio sit amet quam scelerisque facilisis. Nam nec vulputate eros, porttitor faucibus felis. Donec dictum ipsum nisl, interdum aliquam nulla posuere id.</p>

Subtitle

Applying the subtitle class will enhance the visual presentation of a heading or paragraph with a subtitle, ensuring the underlying information remains semantically integrated within the heading. This approach improves clarity and maintains better accessibility and usability.

The quick brown fox jumps over the lazy dog.

<h3>The quick brown fox jumps <span class="subtitle">over the lazy dog.</span></h3>

Colors

Balancing the aesthetic appeal with readability and accessibility considerations is key when using colored text on a website.

Here are the benefits and drawbacks of using colored text on a website:

Benefits:

  • Visual Appeal: Colored text can make content more visually engaging and attractive to users.
  • Emphasis: Different colors can be used to highlight important information, making it stand out from the rest of the content.
  • Brand Identity: Colors can reinforce brand identity and create a cohesive look and feel across the website.
  • Accessibility: When used thoughtfully, colors can improve readability and

Drawbacks:

  • Readability Issues: Poor color combinations can reduce readability, especially for users with vision issues.
  • Aesthetic Overload: Overuse of colors can make clutter the website and distract from the content.
  • Accessibility Concerns: Certain color combinations can fail to meet accessibility standards, making it harder for some users to navigate and understand the content.

Color Examples

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

<p><span class="red">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="gray">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="gray-mid">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="gray-dark">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="blue">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="blue-dark">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="teal">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="teal-dark">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="orange">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="green">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="green-dark">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="black">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="gray-light">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="blue-light">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="teal-light">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="orange-light">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="orange-mid">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="green-light">The quick brown fox jumps over the lazy dog.</span></p>
<p><span class="white">The quick brown fox jumps over the lazy dog.</span></p>

Horizontal Rule

Use the <hr> tag in HTML to visually separate sections of content, improve readability, and enhance the structure of web pages. It acts as a thematic break or horizontal rule, useful for organizing content and creating clear distinctions between different blocks of information.

Lorem ipsum dolor sit amet, consectetur adipiscing.


Eiusmod tempor incididunt ut labore et dolore.

<hr />

Sitefinity Modules

Content modules create collections of content that can be displayed on web pages and in templates. The following modules allow users to manipulate the typography on the websites through either the WYSIWYG editor, writing HTML or applying pre-written classes to the widgets or content items: Content Blocks, Lists, Blogs and Events modules. Learn more about adding content and classes to each of these modules by clicking on the provided links.

The WYSIWYG editor helps keep websites in-brand by allowing users to add html tags and classes to text without needing to edit the HTML by using the formatting options in the dropdown. Learn how to use the WYSIWYG editor.

HTML & pre-written classes

Manipulating the pre-written styles requires a solid knowledge of HTML and CSS and is discouraged unless you have spoken with a member of the web branding team. The fonts are to never be overridden with different fronts, and any changes made must pass AAA compliance for web accessibility.

Custom work can be applied to any content type which provides a WYSIWYG editor or has a “more options” area where a custom class can be added and has a display option of full HTML given the changes are not conflicting with other work on the page.

On this page: