Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Front End Technology Articles
Page 58 of 652
HTML reserved Attribute
The HTML reversed attribute defines that the list order in ol HTML element should be descending in an HTML document. When this attribute is present, the ordered list numbers count down from a higher number to a lower number instead of the default ascending order. Syntax Following is the syntax for the reversed attribute − Item 1 Item 2 Item 3 The reversed attribute is a boolean attribute, meaning its presence indicates the list should be reversed. No value is needed. How the Reversed Attribute ...
Read MoreHTML Screen availHeight Property
The HTML Screen availHeight property returns the available height of the user's screen in pixels, excluding browser interface elements like toolbars, taskbars, and other operating system UI components. This property is useful for determining how much screen space is actually available for displaying content. Syntax Following is the syntax for the availHeight property − screen.availHeight Return Value The availHeight property returns an integer representing the available height of the screen in pixels. This value is always less than or equal to the total screen height (screen.height) because it excludes areas occupied by the ...
Read MoreHTML Screen availWidth Property
The HTML Screen availWidth property returns the available width of the user's screen in pixels, excluding browser interface elements like toolbars, scrollbars, and other UI components. This property is part of the Screen object in JavaScript and provides the actual usable screen width for web content. Syntax Following is the syntax for the availWidth property − screen.availWidth Return Value The screen.availWidth property returns an integer representing the available screen width in pixels. This value is always less than or equal to the total screen width (screen.width) as it excludes the space occupied by ...
Read MoreHTML view Event Property
The HTML view Event property returns a reference to the Window object where the event occurred. This property is available on UI events like mouse clicks, keyboard inputs, and focus events, providing access to the window context in which the event was triggered. Syntax Following is the syntax for accessing the view property − event.view Return Value The view property returns a Window object reference. In most cases, this will be the same as the global window object. If the event occurs in an iframe or popup window, it returns the reference to ...
Read MoreHow to update a MySQL column by subtracting a value with some conditions?
Updating a MySQL column by subtracting a value with conditions is a common database operation. You can use the UPDATE statement with a WHERE clause to modify specific rows based on criteria while performing arithmetic operations on column values. Syntax Following is the basic syntax for updating a column by subtracting a value with conditions − UPDATE table_name SET column_name = column_name - value WHERE condition; Where − table_name − The name of the table to update column_name − The column to modify value − The number to subtract from the ...
Read MoreHTML ontoggle Event Attribute
The HTML ontoggle event attribute is triggered when a user opens or closes a element. This event fires whenever the element's open attribute is added or removed, making it useful for creating interactive collapsible content sections. Syntax Following is the syntax for the ontoggle event attribute − Summary text Content to toggle Where script is the JavaScript function or code to execute when the details element is toggled. Parameters The ontoggle attribute accepts the following parameter − script − JavaScript function ...
Read MoreHTML Window alert( ) Method
The HTML window alert() method displays a simple alert dialog box with a specified message and an OK button. This method is part of the JavaScript Window object and provides a way to show important information or notifications to users that require acknowledgment before continuing. Syntax Following is the syntax for the window alert() method − alert(message); Parameters The alert() method accepts one parameter − message − A string that specifies the text to display in the alert dialog box. If a non-string value is passed, it will be converted to ...
Read MoreHTML Window atob( ) Method
The HTML window atob() method is used to decode a Base64 encoded string. It is the counterpart to the btoa() method, which encodes strings into Base64 format. The atob stands for "ASCII to Binary" and converts Base64 encoded data back to its original string format. Syntax Following is the syntax for the atob() method − window.atob(encodedString) Parameters The atob() method accepts one parameter − encodedString − A Base64 encoded string that needs to be decoded. This must be a valid Base64 string, otherwise the method will throw a DOMException. ...
Read MoreHTML novalidate Attribute
The HTML novalidate attribute specifies that form data should not be validated when the form is submitted. This boolean attribute disables the browser's built-in validation for form controls like required, pattern, min, max, and input type validations. Syntax Following is the syntax for the novalidate attribute − The novalidate attribute is a boolean attribute, meaning its presence alone enables the functionality. You can write it as novalidate, novalidate="", or novalidate="novalidate". How It Works When the novalidate attribute is present on a form element, the browser skips ...
Read MoreHTML Navigator appCodeName Property
The HTML navigator appCodeName property returns the browser's code name, which is a string identifier used internally by the browser. This property is part of the Navigator interface and provides information about the user's browser application. Syntax Following is the syntax for accessing the appCodeName property − navigator.appCodeName Return Value The property returns a string representing the code name of the browser. For most modern browsers, this property typically returns "Mozilla" for historical compatibility reasons, regardless of the actual browser being used. Browser Code Names Here are the common values returned ...
Read More