
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
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
Found 2202 Articles for HTML

296 Views
Use the onblur attribute execute a script when the element loses focus in HTML. You can try to run the following code to implement onblur attribute −Example Type text below! Country: function display() { var str = document.getElementById("myid"); str.value = str.value.toUpperCase(); }

149 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

3K+ Views
Use the rowspan attribute to set the number of rows a table cell should span. To merge cells in HTML, use the colspan and rowspan attribute. The rowspan attribute is for number of rows a cell should span, whereas the colspan attribute is for number of columns a cell should span.Example table, th, td { border: 1px solid black; width: 100px; height: 50px; } Heading

5K+ Views
This article will teach you how do we set the visible number of lines in a textarea in HTML. The HTML element is useful for multi-line editing control and allows the user to enter a sizeable amount of free-form text. Syntax Following is the syntax to set the visible number of lines in text area − To display the number of rows, or number of visible text lines for the control, is specified using the HTML textarea rows attribute. Additionally, it specifies the textarea’s visible height. Following are the examples to set the visible number of lines ... Read More

321 Views
In this article we are running a script when the element is invalid in HTML.as we are familiar with the tag and element. HTML element To gather user input, an HTML form is utilised. Most frequently, a server processes the user input. ……. HTML tag The tag designates a field for user-enterable data. The most significant form element is the element. Depending on the type attribute, the element can be presented in a number of different ways. When a submittable element is ... Read More