Customizing Font Faces, Colors and Backgrounds

  
   Introduction
  

In this tutorial, we will teach you how to use some basic HTML commands to change your font face, color, and background color.  HTML is the common code for displaying web pages, which can be used in conjunction with Penn State's basic text editor.  This tutorial may be helpful to those without a text editor such as Microsoft Word.  Any beginner can attempt this procedure with practically zero consequences, and the entire process takes only a few minutes.  To begin, you will need a computer with internet access.

 

The screencast below will provide detailed steps used in this process. Beneath the video tutorial is a list of steps to follow along. The screencast tutorial will provide a visual aid to each task used in completing the process listed above.  


Screencast Tutorial


 

<!--[if !supportLists]-->1.   <!--[endif]-->Access your webspace and manage a page or entry.

<!--[if !supportLists]-->2.   <!--[endif]-->Switch the text box to HTML mode by clicking the <A>.

<!--[if !supportLists]-->3.   <!--[endif]-->Find the text you wish to edit.

Scroll through the document or use "ctrl+f" to find the written text that you want to modify. 

 

<!--[if !supportLists]-->4.   <!--[endif]-->Modify the HTML tags immediately prior to the written text. 

Within the HTML code associated with your text, you will find several property assignments.  Look for the assignments titled "font-family:", "color:", and "background:".  Highlight the names of each corresponding property and replace with the value of your choice.  When changing the color or background, always use the hexadecimal code. 

 

Note: the background property affects only the portion around the text, not the entire page background. 

 

In some cases, the font-family, color, or background properties may not be listed.  In this situation, type the property and value immediately after <span style =" and place a semicolon at the end.  For example, <span style ="font-family: Trebuchet MS; color: #151B8D; background: #FDD017;">.  If any other properties already exist in the span style tag, leave them. 

 

Note: if you make an error with the HTML code, the page can be severely compromised.

 

<!--[if !supportLists]-->5.   <!--[endif]-->Click the "Preview" button to see a sample of the changes you made. 

If you like your changes and wish to save, click on the "Save" button.  Changes will automatically be republished. 


Note: switching back and forth between HTML mode and text-editing mode may result in relocation and renaming of the HTML tags.  For example, after inputting a color code, it may be converted into a different color code format. 

 

Here is a list of web-safe colors and font-families.



DSC_3716.JPG


 

 

 

No TrackBacks

TrackBack URL: https://blogs.psu.edu/mt4/mt-tb.cgi/68524

1 Comment

If the text was not copied from a word processor, the tags such as font family and background might not be seen when using the blog entry HTML editor. By copying the example into the HTML editor, and then editing the parameters that you desire, the changes will take effect.

Leave a comment

Recent Entries

Renaming the Blog Tab
Removing the Blog Tab Step 1:  Select Design/Templates. Step 2:  Under Template Modules, select Navigation.         …
Removing the Blog Tab
Removing the Blog Tab Step 1:  Select Design/Templates. Step 2:  Under Template Modules, select Navigation. Step 3:  Delete line…
Adding the Banner Heading to Every Page
In the template for "Header", towards the bottom, there is this snippet of code:<mt:If name="main_index">    <div id="homepage-image">&nbsp;</div></mt:If>Just remove the surrounding…

Search This Blog

Full Text  Tag