Appropriate typography should be used in combination with the house style.
It is important to think about the structure of content on a page before choosing the appropriate heading. It is not about choosing one that looks nice, rather think about where the heading fits into the overall content hierarchy so that it makes sense.
Keep the implementation consistent across the entire site to maximise usability.
Do not skip headings in the structure e.g. going from heading 2 to heading 4.
h1 element on a page: the heading University of St Andrews; h1 must not be used anywhere else on the page.h2 elements as required to denote new sections on a page.h3 to h4 elements as required to denote sub-sections of content on a page.h5 or h6 elements.Heading 2
Heading 3
Heading 4
p tag defines a paragraph.b element defines bold text, without any extra importance.strong element defines strong text, with added semantic 'strong' importance.i element defines italic text, without any extra importance.em element defines emphasized text, with added semantic importance.The following snippet of text is a wrapped in paragraph tags and includes a hyperlink.
The following snippet of text is rendered as bold text.
The following snippet of text is rendered as strong text.
The following snippet of text is rendered as italicized text.
The following snippet of text is rendered as emphasised text.
CodeThe following snippet of text is a wrapped in paragraph tags and includes a hyperlink.
The following snippet of text is rendered as bold text.
The following snippet of text is rendered as strong text.
The following snippet of text is rendered as italicized text.
The following snippet of text is rendered as emphasised text.
The abbr tag is used to define an abbreviation or an acronym. This can give useful information to browser, translation systems, and search engines.
By deafult in desktop browsers the abbr tag provides a tooltip mouseover.
Please note, abbr tags are redundent on mobile browsers. In which case it is recommended to write it out abbreviations and acronyms in full, e.g. World Health Organisation (WHO).
The WHO was founded in 1948.
CodeThe WHO was founded in 1948.
Due to the current styling, paragraph lead fields are only to be used as an introduction at the top of subject and course pages.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
CodeVivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
CodeLorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Right aligned blockquotes are available as a flexible alternative for pages which wrap their text fields around additional content.
CodeLorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title