Facebook Pixel Heading Rule with Text | Western Kentucky University Skip to main content

Heading Rule with Text


The Heading Rule with Text snippet allows you to create a heading rule or horizontal line with text on top. This snippet allows you to set custom text, select alignment of your text, enable italics, and change the size of the text. Use this snippet to create a break in content on your page.

Do not use this snippet as a replacement for headings. Doing so can negatively affect search engine optimization as well as accessibility.

 

Available Settings

TEXT-SIZE
Changes the size of the text over the horiztonal line. (Options: SMALL (default), MEDIUM, or LARGE)

TEXT-ALIGNMENT
Controls the alignment of the text over the horiztonal line. (Options: LEFT, CENTER (default), OR RIGHT)

ITALICS
Changes the text to display italicized (Options: YES or NO (default)).

TEXT
Set the text to display over the horiztonal line.




Example #1 - Basic Text

These examples use all of the default settings. Use this snippet to provide a break in content showing more or other options.





Heading Rule with Text Snippet
TEXT-SIZE SMALL
TEXT-ALIGNMENT CENTER
ITALICS NO
TEXT Your Text Here



Example #2 - Sizes

Use the TEXT-SIZE option to increase the size of the text.





Heading Rule with Text Snippet
TEXT-SIZE MEDIUM
TEXT-ALIGNMENT CENTER
ITALICS NO
TEXT Your Text Here

Heading Rule with Text Snippet
TEXT-SIZE LARGE
TEXT-ALIGNMENT CENTER
ITALICS NO
TEXT Your Text Here



Example #3 - Alignment

Use the TEXT-ALIGNMENT option to change the alignment from CENTER, to LEFT or RIGHT.





Heading Rule with Text Snippet
TEXT-SIZE MEDIUM
TEXT-ALIGNMENT LEFT
ITALICS NO
TEXT Your Text Here

Heading Rule with Text Snippet
TEXT-SIZE SMALL
TEXT-ALIGNMENT RIGHT
ITALICS NO
TEXT Your Text Here



Example #4 - Italics

Select YES in the ITALICS option to make the text appear italicized.



Heading Rule with Text Snippet
TEXT-SIZE SMALL
TEXT-ALIGNMENT CENTER
ITALICS YES
TEXT Your Text Here



Example #5 - Combinations

Combine any of the options to make your own text style.



Heading Rule with Text Snippet
TEXT-SIZE MEDIUM
TEXT-ALIGNMENT LEFT
ITALICS YES
TEXT Medium Left Italics



Heading Rule with Text Snippet
TEXT-SIZE LARGE
TEXT-ALIGNMENT RIGHT
ITALICS YES
TEXT Large Right Italics

Some of the links on this page may require additional software to view.

 Last Modified 11/29/17