HTML Practice Exercise

HTML (Hypertext Markup Language) is the language of the web. Since learning any language is possible by writing the code. Hence, here you are given some basic HTML Practice Exercise for getting familiar with it. Find here some more examples of HTML and JavaScript. HTML Practice Exercise Create a web page which displays a message “This …

ASP.NET Practice Exercise

ASP.NET is a technology for creating dynamic websites. Since, learning any technology starts by writing code, here is an ASP.NET Practice Exercise, that you can use to learn ASP.NET. ASP.NET Practice Exercise Since, the simplest web page requires the use of these two basic controls, write a program for using Label and TextBox controls. Another important control from Visual …

Learn CSS Through Code Examples

While, we use HTML to create a web page, both JavaScript and CSS (Cascading Style Sheets) make the page attractive and more user-friendly. As can be seen, CSS adds style to HTML elements that make the website look professional. Although you can provide style to each element within the HTML document, still separating style definition …

Exploring DataList Control in ASP.NET

To begin with, in this post on Exploring DataList Control in ASP.NET, I will explain the DataList control. In short, it is one of the feature-rich, lightweight data-bound control available in ASP.NET. In general, we use the DataList control to display the multiple rows of data. Although, ASP.NET offers several data-bound controls the DataList control provides a much greater degree of …

Custom Validator Control in ASP.NET

To begin with, in this article, I will explain Custom Validator Control in ASP.NET using an example. Although ASP.NET provides a number of validation controls, still in many situations none of them may work. Especially, when you want to match the content of a TextBox with a value stored in the database, you need a user-defined function for this purpose. …

JavaScript Practice Exercise

Since JavaScript is one of the popular languages for coding, learners should practice it by writing some code. These beginner-level level JavaScript Practice Exercise questions help them learn the language. JavaScript Practice Exercise Use JavaScript to display pop up boxes (alert box, an alert box with line breaks, confirm box, prompt box) Use JavaScript to call a …

Validation Summary Control in ASP.NET

To summarize the validation errors on a web page we use Validation Summary Control in ASP.NET. However, for a basic understanding of server-side validation controls, you can read this article. Important Points Regarding the validation Summary Control In fact, this control doesn’t perform any validation itself but only collects error information from other validation controls and displays it in …

Validation Controls Examples – RequiredFieldValidator, CompareValidator, and RangeValidator

To begin with, in this post, I will provide certain Validation Controls Examples – RequiredFieldValidator, CompareValidator, and RangeValidator. In my earlier post on validation controls, I have explained the concept and here I will demonstrate them using code examples. Example of Required Field Validator Control The following example shows how to use the Required Field Validator …