---
title: "What is the difference between a Label control and a Literal control?"  
description: "What is the difference between a Label control and a Literal control?"  
author: "Sumit Kesarwani"  
published: 2013-12-17  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/1837/what-is-the-difference-between-a-label-control-and-a-literal-control  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is the difference between a Label control and a Literal control?

The Label control’s final html code has an HTML tag; whereas the Literal control’s final html code contains only text, which is not surrounded by any HTML tag.

## Answers

### Answer by Sumit Kesarwani

The Label control’s final html code has an HTML tag; whereas the Literal control’s final html code contains only text, which is not surrounded by any HTML tag.


---

Original Source: https://www.mindstick.com/interview/1837/what-is-the-difference-between-a-label-control-and-a-literal-control

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
