The purpose of this brief guide is to illustrate and explain proper formatting techniques when designing for the Friedman School's site.
Practices Applicable to All Content Types
<span> Tags are Highly Frowned Upon
The use of <span> tags in content is often not neccessary and can incidentialy cause nuisance display issues on the front end for users. Unfortunately, there are certain circumstances which may require us to use the <span> tag, and thus, we can not eliminate/filter its use automatically. These tags are often automatically generated when copying content into the Editor from e-mail and Microsoft Word. Please view your source code before publishing content to eliminate <span> and </span> tags.
Here are examples of an uneccessary/nusiance <span> tag.
<p>Welcome to <span>Tufts University Friedman</span> School of Nutrition Science and Policy.</p>
<span>Welcome to Tufts University Friedman School of Nutrition Science and Policy</span>
In the examples above, the <span> tag is unecessary. These lines of text should be wrapped in <p> ("Paragraph") tags only.
is not required
The use of is not required in any content. Traditionally, signals to the browser to insert a blank space. The browser can handle this functionality by simply inserting a space with your "space bar". Please view your source code before publishing content to eliminate .
Using Enter for Line Breaks
It is recommended that you use the Enter key for a line break. This creates a full <p> wrapper. Please do not use [Shift] + [Enter] - this creates a single line break ("<br />") and is often not appropriate.
Practices Applicable to: Events
If you need to provide a link to another site and/or page in an Event, use the "Link" field. This will properly format the link for optimal display to the user.