Partager via


Literal Web Server Control

The Literal control renders static text into a Web page without adding any HTML elements. You can manipulate the text programmatically with server code.

NoteNote

If you want to display static text, you can present it using HTML; you do not need a Literal control. Use a Literal control only if you need to change the contents in server code. The Literal control is similar to the Label control, except the Literal control does not enable you to apply a style to the displayed text.

The following topics provide information on working with the Literal Web server control.

In This Section