How to Convert Text to Uppercase

Thanks to the text-transform property, you don't have to spend extra time formatting text on your web page. The text-transform property allows you to automatically convert text to uppercase or lowercase with cascading style sheets. Even if you or someone else uses the wrong case, the text will convert correctly. You can specify the type of text that's capitalized on your web page, such as headings or subheadings, which you want to distinguish from other text.

Instructions

    • 1

      Open the HTML file you want to modify in a text editor, such as Notepad, TextPad or EditPad.

    • 2

      Add the following style between the <HEAD> tag:

      <style>

      <!--

      .uppercase {

      text-transform:uppercase;

      }

      -->

      </style>

    • 3

      Find the text you want to convert into uppercase.

    • 4

      Surround it with the following code, replacing "your text goes here" with your actual text:

      <span class="uppercase">your text goes here</span>

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured