Jennifer Nicholas has Published 332 Articles

How to search the value of the type attribute of a link in JavaScript?

Jennifer Nicholas

Jennifer Nicholas

Updated on 23-May-2020 11:22:09

123 Views

To search the value of the type attribute of a link in JavaScript, use the type property. You can try to run the following code to get the value of type attribute.Example           Qries                var x = document.getElementById("qriesid").type;          document.write("Value of the type attribute: "+x);          

How to stop the execution of a function with JavaScript?

Jennifer Nicholas

Jennifer Nicholas

Updated on 21-May-2020 07:45:40

8K+ Views

To stop the execution of a function in JavaScript, use the clearTimeout() method. This function call clears any timer set by the setTimeout() functions.ExampleYou can try to run the following code to learn how to work with clearTimeout() method in JavaScript.           JavaScript clearTimeout() method   ... Read More

Features detected by Modernizr

Jennifer Nicholas

Jennifer Nicholas

Updated on 04-Mar-2020 08:16:00

486 Views

The following is the list of features that can be detected by Modernizr −FeatureCSS PropertyJavaScript Check@font-face.fontfaceModernizr.fontfaceCanvas.canvasModernizr.canvasCanvas Text.canvastextModernizr.canvastextHTML5 Audio.audioModernizr.audioHTML5 Audio formatsNAModernizr.audio[format]HTML5 Video.videoModernizr.videoHTML5 Video FormatsNAModernizr.video[format]rgba().rgbaModernizr.rgbahsla().hslaModernizr.hslaborder-image.borderimageModernizr.borderimageborder-radius.borderradiusModernizr.borderradiusbox-shadow.boxshadowModernizr.boxshadowMultiple backgrounds.multiplebgsModernizr.multiplebgsOpacity.opacityModernizr.opacityCSS Animations.cssanimationsModernizr.cssanimationsCSS Columns.csscolumnsModernizr.csscolumnsCSS Gradients.cssgradientsModernizr.cssgradientsCSS Reflections.cssreflectionsModernizr.cssreflectionsCSS 2D Transforms.csstransformsModernizr.csstransformsCSS 3D Transforms.csstransforms3dModernizr.csstransforms3dCSS Transitions.csstransitionsModernizr.csstransitionsGeolocation API.geolocationModernizr.geolocationInput TypesNAModernizr.inputtypes[type]Input AttributesNAModernizr.input[attribute]localStorage.localstorageModernizr.localstoragesessionStorage.sessionstorageModernizr.sessionstorageWeb Workers.webworkersModernizr.webworkersapplicationCache.applicationcacheModernizr.applicationcacheSVG.svgModernizr.svgSVG Clip Paths.svgclippathsModernizr.svgclippathsSMIL.smilModernizr.smilWeb SQL Database.websqldatabaseModernizr.websqldatabaseIndexedDB.indexeddbModernizr.indexeddbWeb Sockets.websocketsModernizr.websocketsHashchange Event.hashchangeModernizr.hashchangeHistory Management.historymanagementModernizr.historymanagementDrag and Drop.draganddropModernizr.draganddropCross-window Messaging.crosswindowmessagingModernizr.crosswindowmessagingaddTest() Plugin APINAModernizr.addTest(str, fn)Read More

How to specify that an option should be pre-selected when the page loads in HTML?

Jennifer Nicholas

Jennifer Nicholas

Updated on 03-Mar-2020 11:10:09

75 Views

Use the selected attribute to specify that the option should be pre-selected when page loads in HTML. You can try to run the following code to implement selected attribute −Example           HTML selected attribute               Here's the list of subjects. Select any one:                             Computer Architecture             Java             Discrete Mathematics                    

How do we create a footer for a document or section in HTML5?

Jennifer Nicholas

Jennifer Nicholas

Updated on 03-Mar-2020 07:06:18

192 Views

Use the HTML tag to display a footer for a document or section. You can try to run the following code to implement tag −Example           HTML Footer Tag                        Simply Easy Learning          You're visiting tutorialspoint.com - tutorial hub for simply easy learning.                      © Copyright 2018, All Rights Reserved          

How to create a section in a document in HTML?

Jennifer Nicholas

Jennifer Nicholas

Updated on 03-Mar-2020 06:20:17

9K+ Views

Use the tag to add a section in a document. The HTML tag is used for defining a section of your document. With the div tag, you can group large sections of HTML elements together and format them with CSS.ExampleYou can try the following code to create a ... Read More

How to set whether an element is draggable or not in HTML?

Jennifer Nicholas

Jennifer Nicholas

Updated on 03-Mar-2020 05:32:47

447 Views

Use the draggable attribute to set whether the element is draggable or not. Set it using the values true and false.ExampleYou can try to run the following code to implement draggable element and drag an element −                 .drag {       ... Read More

How to limit maximum items on multiple input ()?

Jennifer Nicholas

Jennifer Nicholas

Updated on 25-Feb-2020 07:22:28

9K+ Views

To allow multiple file uploads in HTML forms, use the multiple attributes. The multiple attributes work with email and file input types.For limiting maximum items on multiple inputs, use JavaScript. Through this, limit the number of files to be uploaded. For example, let’s say only 2 files to be uploaded ... Read More

What are multiplicative operators in C++?

Jennifer Nicholas

Jennifer Nicholas

Updated on 11-Feb-2020 07:37:45

178 Views

The multiplicative operators are −Multiplication (*)Division (/)Modulus or “remainder from division” (%)These binary operators have left-to-right associativity. The multiplicative operators take operands of arithmetic sorts. The modulus operator (%) contains a stricter requirement in this its operands should be of integral type.The multiplication operator yields the result of multiplying the ... Read More

What is the use of scope resolution operator in C++?

Jennifer Nicholas

Jennifer Nicholas

Updated on 11-Feb-2020 06:43:03

372 Views

The :: (scope resolution) operator is used to get hidden names due to variable scopes so that you can still use them. The scope resolution operator can be used as both unary and binaryYou can use the single scope operator if a namespace scope or global scope name is hidden ... Read More

Previous 1 ... 6 7 8 9 10 ... 34 Next
Advertisements