📘 HTML – Basics & Concepts 🔹 HTML Html is tag based or browser oriented or text based language. HTML stands for hypertext markup language. 🔹 Terminology Hyper :- hyper represents the next document. Text :- text is a collection of words (char, number or special characters) Markup :- it is basically an HTML library where all the tags are defined (it communicates directly with the browser) Language :- it works as a mediator between a user and computer 🔹 Tag-Based Structure .........Html has a tag-based structure......... <H1>this is a heading</H1> Here, the content between the tags is called inner HTML 🔹 Types of Tags Open tag → <br> , <hr> , <i> , <b> , <img> Closed tag → <h1></h1> 🔹 Development Rules Create your own directory Put all the resources into the directory (Audio, video, image, library, api or other) Don't put spaces between your project's name My project ✗ Myproject ✓ 🔹 Important Tags 1) <del> Th...
* In Dot Net 'Now' is an object defined under "DateTime" library , is set the current time and date of your computer, general computer time is also set/display using Now object. How can we display Time and Date in Dot Net- 1. Firstly, drag a button and a label control [ We will code inside the button click event and the Date & Time will be shown in the Label control ] ex. - //Date Label1.Text = DateTime.Now.ToString("dd/MMMM/yyyy"); Label1.Text = DateTime.Now.ToString("dd"); //Day Label1.Text = DateTime.Now.ToString("dddd"); //Month Label1.Text = DateTime.Now.ToString("MMMM"); //Year Label1.Text = DateTime.Now.ToString("yyyy"); //Time Label1.Text = DateTime.Now.ToShortTimeString(); ADDING Hours/Months/Years to Current Time- Implementation[We will use this function to show the user that the your subscription will gonna expire on that date] Let's have a look- Label1.Text = DateTime.Now.AddHours(5)....
DataBase Security is one of the important parts in web development. Inorder to maintain that, the vulnerable code like Data base path , query or etc is written inside the Class file in the form of functions and in the needy page they are only called. How to create Class file- Select the root > go to website menu > Add new item >Select class > give a desired name to class(lets say MyClass ) Inside it write the code for Object creation and library inclusion. After that, create the function for each thing- 1. For connection- public string Connection() { string cs = @"data_base_path"; return cs; } 2. For query- Insert- public string Insertq() { string q = "insert into Table_name values"; return q; } Update- public string Updateq() { string q = "update Table_name set"; return q; } Select- public string Selectq() { string q = "select * from Table_name where"; return q; } Delete- pub...
Comments
Post a Comment