
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 10483 Articles for Web Development

377 Views
In this article we are going to perform how do we add the width in characters for input in HTML. The size attribute is used to specify the visible width of an element in terms of characters. The input fields accepts text, search, tel, URL, email, and password. Its display size may be impacted by this, albeit rather indirectly. The length of prospective entries is not truly constrained by the size parameter, though − Syntax Following is the syntax for ... Let’s look into the following examples, to learn more about adding the width ... Read More

297 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