Chandu yadav has Published 1091 Articles

Execute a script when the seeking attribute is set to false indicating that seeking has ended in HTML?

Chandu yadav

Chandu yadav

Updated on 03-Mar-2020 07:03:46

175 Views

The onseeked attribute executes a script when the user skips or moves to a new position in the audio or video.ExampleYou can try to run the following code to implement onseeked attribute −           Play                   ... Read More

How to display a directory list in HTML?

Chandu yadav

Chandu yadav

Updated on 03-Mar-2020 06:38:02

11K+ Views

Use the dir tag in HTML to display directory list. This is very similar to tag but do not use since it is deprecated now.The following is the attribute −AttributeValueDescriptionCompactcompactDeprecated − Specifies a compact rendering.ExampleYou can try to run the following code to show a directory list in ... Read More

How to create a hyperlink to link another document in HTML?

Chandu yadav

Chandu yadav

Updated on 03-Mar-2020 05:50:20

3K+ Views

Use the tag to create a hyperlink. The HTML tag is used for creating a hyperlink either to another document, or somewhere within the current document.The following are the attributes −AttributeValueDescriptionCharsetcharacter_encodingDefines the character encoding of the linked document.Cordsif shape = "rect" then coords = "left, top, right, bottom"if ... Read More

Execute a script when a user is pressing a key in HTML?

Chandu yadav

Chandu yadav

Updated on 03-Mar-2020 05:36:03

368 Views

Use the onkeydown attribute. The onkeydown attribute triggers when the user is pressing a key.ExampleYou can try to run the following code to execute a script on pressing a key −           Press a key inside the textbox.                      function display() {             alert("You pressed a key!");          }          

How do we display the thickness of the border of an element in HTML?

Chandu yadav

Chandu yadav

Updated on 02-Mar-2020 12:46:08

165 Views

Use the border attribute in HTML to display the thickness of the border.Note − This attribute is not supported in HTML5.ExampleYou can try to run the following code to learn how to implement border attribute in HTML −           Cricketers         ... Read More

How do we create preformatted text in HTML?

Chandu yadav

Chandu yadav

Updated on 02-Mar-2020 12:35:10

187 Views

Use the tag to create preformatted text. Note − The tag deprecated.ExampleYou can try to run the following code to learn how to create preformatted text in HTML −           HTML xmp Tag               HTML tags include       for bold text, for italic text.    

How MySQL stored GENERATED COLUMNS can work with built-in functions?

Chandu yadav

Chandu yadav

Updated on 27-Feb-2020 12:30:33

176 Views

It can be illustrated with the help of an example in which we are creating a stored generated column in the table named ‘employee_data_stored’. As we know that stored generated column can be generated by using the keyword ‘stored’.Examplemysql> Create table employee_data_stored(ID INT AUTO_INCREMENT PRIMARY KEY, First_name VARCHAR(50) NOT NULL, ... Read More

How can we see the list of views stored in a particular MySQL database?

Chandu yadav

Chandu yadav

Updated on 17-Feb-2020 08:54:10

179 Views

With the help of following queries,  we can see the list of views stored in a particular database. We are using the database named ‘query’ here.mysql> SELECT TABLE_NAME FROM information_schema.`TABLES` WHERE TABLE_TYPE LIKE'view' AND TABLE_SCHEMA LIKE 'query'; +-----------------------------+ | TABLE_NAME                  | +-----------------------------+ ... Read More

Write down the MySQL query which shows inequality condition?

Chandu yadav

Chandu yadav

Updated on 12-Feb-2020 07:09:16

124 Views

Inequality means NOT EQUAL TO and MySQL have two inequality operator, ‘’ and ‘!=’. following MySQL queries shows the inequality conditionsmysql> Select tender_value From estimated_cost1 WHERE Name_company != 'Chd Ltd.';The above query shows inequality condition because it have != operator.mysql> Select tender_value From estimated_cost1 WHERE Name_company 'Chd Ltd.';The above ... Read More

What is "Argument-Dependent Lookup" ("Koenig Lookup") in C++?

Chandu yadav

Chandu yadav

Updated on 12-Feb-2020 06:34:31

343 Views

Argument-dependent lookup(ADL) is a protocol for looking up unqualified function names in function-call expressions.These function call expressions include implicit function calls to overloaded operators.The function names are looked up in the namespaces of their arguments in addition to the scopes and namespaces considered by the usual unqualified name lookup. Argument-dependent ... Read More

Advertisements