by admin | Jun 27, 2018 | JavaScript
JavaScript getElementById The document.getElementById() method returns the element of specified id. In below example we receive input field by using document.getElementById() method, here document.getElementById() receive input value on the basis of input field id....
by admin | Jun 27, 2018 | JavaScript
JavaScript Forms Validation Form validation works at server, after client had entered all the necessary details and then pressed submit button. JavaScript provides the facility to validate the form on the client side so processing will fasterthan server-side...
by admin | Jun 27, 2018 | JavaScript
JavaScript Email validation We can validate the email with the help of JavaScript. Here we check the condition related to any email id, like email it must have “@” and “.” sign and also email id must be atleast 10 character. There are many...
by admin | Jun 27, 2018 | JavaScript
JavaScript Password Validation Here we see that how to validate any password field. Like password field can be blank and length of password is minimum 8 characters. Example <!DOCTYPE html> <html> <head> <script> ...
by admin | Jun 27, 2018 | JavaScript
JavaScript Re-type Password Validation Example <!DOCTYPE html> <html> <head> <script> function pass_validation() { var firstpassword=document.f1.password1.value; var secondpassword=document.f1.password2.value; ...
by admin | Jun 27, 2018 | JavaScript
JavaScript Page Redirect The window.location object can be used to get the current page address (URL) and to redirect browser to new page. In some websites when we visit, we face a situation where we clicked a URL to reach a page X but internally it directed us to...
by admin | Jun 27, 2018 | JavaScript
JavaScript Print JavaScript help’s the functionality using the print function of window object. In JavaScript print function window.print() print the current web page when it executed. We can call function directly using onclick event. Example...
by admin | Jun 27, 2018 | CSS
CSS Introduction: CSS stands for Cascading Style Sheet. It is a design language which is used to design the web pages. It was developed by Håkon Wium Lie on October 10, 1994. It provides powerful technique over the presentation of HTML document. It handles the look...
by admin | Jun 27, 2018 | CSS
You can use CSS(Cascading Style Sheet) in four ways. These are given below: The given above CSS type, in which various technique will be used. These are different from each other and their different advantages. Embedded or Internal CSS Inline style External style...
by admin | Jun 27, 2018 | CSS
The CSS Opacity property is used to set the clarity of the image. It is defined as degree and specify the transparency of an element. Note: Opacity value will be less than 1. Let us see an example of CSS opacity: <!DOCTYPE html> <html> ...