 
 Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Front End Technology Articles - Page 771 of 860
 
 
			
			2K+ Views
The direction property specifies the text direction within a block element on the web page. We use the style attribute, to set text direction in HTML. The style attribute specifies an inline style for an element within a block. The style attribute is used with the CSS property direction to set direction for the text. Syntax Following is the syntax to set text direction (right-to-left) using CSS property. The text… Example Following is the example program to set direction to the element in HTML. DOCTYPE html> ... Read More
 
 
			
			3K+ Views
The direction property specifies the text direction within a block element on the web page. We use the style attribute, to set text direction in HTML. The style attribute specifies an inline style for an element within a block. The style attribute is used with the CSS property direction to set direction for the text. Syntax Following is the syntax to set text direction using CSS property. Below syntax set the text to right-to-left direction. The text… Example Following is the example program to set text direction in HTML. DOCTYPE html> ... Read More
 
 
			
			231 Views
Work title can be the title for a book, a song, a painting, a movie, etc. We use tag, to mark work title in HTML. The tag indicates citation and whatever comes inside the tag represents work title for specified thing on we page. Syntax Following is the syntax for the tag. Work title Example Following is example program for the tag. DOCTYPE html> HTML cite tag Heading Learn Java from Java ... Read More
 
 
			
			376 Views
We use shortened versions to represent a series of letters. The HTML tag, used to define an abbreviation or an acronym, like "HTML", "CSS", "Mr.", etc. Syntax Following is the syntax for the tag. DLF Example Following is the example program for the tag. DOCTYPE html> HTML abbr tag Timings We follow AI for our webinars. Example Following is one more example program for the tag. DOCTYPE ... Read More
 
 
			
			369 Views
The void keywordThe void is an important keyword in JavaScript, which can be used as a unary operator that appears before its single operand, which may be of any type. This operator specifies an expression to be evaluated without returning a value.The syntax of the void can be either of the following two − The eval() functionThe JavaScript eval() is used to execute an argument. The code gets execute slower when the eval() method is used. It also has security implementations since it has a different scope of execution.ExampleHere’s how you can ... Read More
 
 
			
			5K+ Views
To make an anchor tag refer to nothing, use “javascript: void(0)”. The following link does nothing because the expression "0" has no effect in JavaScript. Here the expression "0" is evaluated, but it is not loaded back into the current document.ExampleLive Demo Click the following, This won't react at all... Click me!
 
 
			
			733 Views
In this article, we will learn the difference between JavaScript undefined and void(0). Though they may appear similar, they serve distinct purposes and can be used in different scenarios. What is JavaScript undefined? undefined means a variable declared, but no value has been assigned. It is a primitive value automatically assigned to variables that have been declared but not initialized. For Example − var demo; alert(demo); //shows undefined alert(type of demo); //shows undefined It is a global property that represents a variable with no assigned value. If a function does not return ... Read More
 
 
			
			302 Views
In this tutorial, let us discuss how to use the void keyword in JavaScript. We use the void keyword as the return type of function that does not return any value. It evaluates an expression and returns undefined. We can use this with a single operand because this is a unary operator. We should not wrap the expression in parentheses because void is not a function. void 0 is the same as void(0). Users can follow the syntax blocks to deal with each use case. Syntax void expression The expression can be a variable or a function. Use void ... Read More
 
 
			
			6K+ Views
To call a JavaScript function in an alert box, you can use the alert() function, a built-in function in JavaScript that displays an alert dialog with a specified message. An alert box is a simple dialog box that displays a message to the user and provides an OK button. It is a built-in function in JavaScript that is often used for debugging or displaying simple notifications to the user. Here's an example of how to use the alert() function in JavaScript − alert("Hello, World!"); // displays an alert box with the message "Hello, World!" The alert() function takes a ... Read More
