How to Create a Background for Your Title on Tumblr

Use the HTML "span" tag to customize the background of your title tag in your Tumblr posts. The background color shows up behind the letters in your title, but the rest of your Tumblr template is left intact. Use this type of coding when you want to display a "highlight" effect for your HTML content.

Instructions

    • 1

      Open a Web browser and log into your Tumblr dashboard. Click "Customize Appearance." Click "Edit HTML" to open the coding editor.

    • 2

      Locate the HTML code that includes the title of your blog post. The "{title}" tag tells the Tumblr blog to print the title of your blog post.

    • 3

      Encompass the "{title}" tag with the HTML "span" tag and the selected background color. The following code places a yellow background in the title:

      <SPAN STYLE="background-color: #ffffcc">{title}</SPAN>

    • 4

      Click the "Save" button to save the Tumblr template changes. Open the blog in another browser tab to review the HTML changes.

Related Searches:

References

Comments

Related Ads

Featured