HTML DOM Window Closed Property

AmitDiwan
Updated on 21-Dec-2021 08:03:26

203 Views

The HTML DOM Window closed property returns a boolean value corresponding to the state of a window is closed or not.SyntaxFollowing is the syntax −Returning boolean valuewindow.closedExampleLet us see an example of HTML DOM Window closed property − HTML DOM Window closed    * {       padding: 2px;       margin:5px;    }    form {       width:70%;       margin: 0 auto;       text-align: center;    }    input[type="button"] {       border-radius: 10px;                   ... Read More

HTML DOM Window frameElement Property

AmitDiwan
Updated on 21-Dec-2021 08:01:37

304 Views

The HTML DOM Window frameElement property returns a HTML element corresponding to the window in which it is embedded such as , , or .SyntaxFollowing is the syntax −Returning window embedding elementwindow.frameElementExampleLet us see an example of HTML DOM Window frameElement property − HTML DOM Window frameElement    * {       padding: 2px;       margin:5px;    }    form {       width:70%;       margin: 0 auto;       text-align: center;    }    input[type="button"] {       border-radius: 10px;           ... Read More

HTML DOM Window Frames Property

AmitDiwan
Updated on 21-Dec-2021 07:57:17

259 Views

The HTML DOM Window frames property returns an object corresponding to the window, representing all frames present in it.SyntaxFollowing is the syntax −Returning frames in current windowwindow.framesLet us see an example of HTML DOM Window frames property −Example HTML DOM Window frames    * {       padding: 2px;       margin:5px;    }    form {       width:70%;       margin: 0 auto;       text-align: center;    }    input[type="button"] {       border-radius: 10px;                    HTML-DOM-Window-frames   ... Read More

HTML DOM Window Opener Property

AmitDiwan
Updated on 21-Dec-2021 07:54:23

688 Views

The HTML DOM Window opener property returns a reference to the parent window that launched/created the child window using open().SyntaxFollowing is the syntax −Returning reference of parent windowwindow.openerExampleLet us see an example of HTML DOM Window opener property − HTML DOM Window opener    * {       padding: 2px;       margin:5px;    }    form {       width:70%;       margin: 0 auto;       text-align: center;    }    input[type="button"] {       border-radius: 10px;                 ... Read More

HTML DOM Window Parent Property

AmitDiwan
Updated on 21-Dec-2021 07:51:23

877 Views

The HTML DOM Window parent property returns a reference to the parent window of the child window.SyntaxFollowing is the syntax −Returning reference of parent windowwindow.parentExampleLet us see an example of HTML DOM Window parent property − HTML DOM Window parent    * {       padding: 2px;       margin:5px;    }    form {       width:70%;       margin: 0 auto;       text-align: center;    }    input[type="button"] {       border-radius: 10px;                    HTML-DOM-Window-parent   ... Read More

Difference Between XML and HTML

AmitDiwan
Updated on 21-Dec-2021 07:38:09

871 Views

In this post, we will understand the difference between HTML and XML.HTMLIt refers to Hyper Text Markup Language.It helps create web pages and applications.It is a markup language.It helps create static pages as well.It helps display data.It doesn’t transport data.HyperText helps define link between multiple web pages.Markup Language helps define text document using tags, which gives a structure to the web page.It helps annotate the text so that a system can understand it and use it.It ignores minor errors.It is not case sensitive.There are specific number of tags in HTML.These tags are predefined.It doesn’t preserve white spaces.Closing tags are not ... Read More

Difference Between Focus and Active Selector in HTML

Mahesh Parahar
Updated on 21-Dec-2021 07:28:36

895 Views

:focus:focus selector is used to applying a required style when a form element got to focus like button, link, input box. An element can get focus using mouse or using tab key. A focus remains on the element until another element gets focus.:active:active selector is used to indicating that an anchor tag is active or a button is active. When the mouse is down, active selector applies and remains applied till the mouse is down.ExampleFollowing the example, shows usage of :focus as well as :active selector on button and link.    Selector Example           ... Read More

What is Security Testing? Types with Examples

Vineet Nanda
Updated on 21-Dec-2021 06:08:11

12K+ Views

What is the Purpose of Security Testing?Security testing is a sort of software testing that identifies vulnerabilities, hazards, and dangers in a software program and guards against intruder assaults. The goal of security tests is to find any potential flaws and vulnerabilities in the software system that might lead to a loss of data, income, or reputation at the hands of workers or outsiders.What are the Benefits of Security Testing?The basic purpose of security testing is to find and assess possible vulnerabilities in a system so that attacks may be faced and the system does not cease working or be ... Read More

What is User Acceptance Testing (UAT)

Vineet Nanda
Updated on 20-Dec-2021 12:49:47

969 Views

What Is User Acceptance Testing and How Does It Work?Testing is well-understood, and acceptance denotes approval or agreement. In the context of a software product, the user is either the program's consumer or the person who asked that it be made for him or her (client).User Acceptance Testing (UAT), often known as beta or end-user evaluating, is the process of a user or client testing software to see whether it can be accepted. This is the last stage of testing after the functional, system, and regression tests have been completed.The major goal of this testing is to ensure that the ... Read More

Check If a Year Is Leap Year in PHP

AmitDiwan
Updated on 20-Dec-2021 12:29:09

14K+ Views

To check if a year is leap year or not in PHP, the code is as follows −Example Live DemoOutputIt is not a leap yearA function named ‘year_check’ is defined that takes a year as a parameter. It checks to see if the year can be divided by 400 or 4 completely, if yes, it means it is a leap year. Otherwise, it is a leap year. The value for year is defined outside the function, and the function is called by passing this year as a parameter to it. Relevant output is displayed on the console.

Advertisements