Mkotla has Published 77 Articles
mkotla
6K+ Views
No, the constructor does not return any value. While declaring a constructor you will not have anything like a return type. In general, the Constructor is implicitly called at the time of instantiation. And it is not ... Read More
mkotla
1K+ Views
Use the oninput event attribute to trigger when an element gets user input. You can try to run the following code to implement oninput attribute − Example Write your name below: function display() { var p = document.getElementById("myid").value; document.getElementById("test").innerHTML = "Your answer is " + p; }
mkotla
2K+ Views
Steps Follow the below-given steps to convert HTML5 into standalone Android App You need to first create an Android app using Eclipse. Move HTML code to /assets folder −The Assets provide a way to include arbitrary files ... Read More
mkotla
227 Views
CSS3 added shadow effects to text, with the text-shadow property. You can try to implement the following code to add text shadow −ExampleLive Demo h1 { text-shadow: 2px 2px; } ... Read More
mkotla
300 Views
The border-image-repeat property is used to set the border image as rounded, repeated and stretched with CSS.ExampleYou can try to run the following code to implement the border-image-repeat property:Live Demo #borderimg1 { border: 15px ... Read More
mkotla
268 Views
To implement animation on the column-rule property with CSS, you can try to run the following code:ExampleLive Demo div { width: 600px; height: 300px; ... Read More
mkotla
712 Views
Parent selectors are not present in CSS3. There is a proposed CSS4 selector, $, to do so, which could look like this (Selecting the li element) −ul $li ul.sub { ... }As an alternative, with jQuery, a one-liner you could make use of would be this. The: has() selector selects ... Read More
mkotla
5K+ Views
The input type button can be a submit button or reset button. With CSS, we can style any button on a web page.You can try to run the following code to style input type button:ExampleLive Demo input[type=button] { ... Read More
mkotla
494 Views
Use the [attribute$=”value”] selector to select elements whose attribute value ends with a specified value i.e. “.htm” here.You can try to run the following code to implement the CSS [attribute$="value"] Selector, ExampleLive Demo [href$ = htm] { ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP