- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- 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 2416 Articles for HTML
![Vrundesha Joshi](https://www.tutorialspoint.com/assets/profiles/13566/profile/60_88163-1512715024.jpg)
2K+ 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
![Yaswanth Varma](https://www.tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg)
4K+ 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
![Yaswanth Varma](https://www.tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg)
208 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
![vanithasree](https://www.tutorialspoint.com/assets/profiles/13547/profile/60_85216-1512542720.jpg)
635 Views
The required attribute in HTML is used to specify that the element should be filled before the form is submitted. If the field is not filled and the submit button is clicked, an error generates, which fails form submission. The error will be “Please fill out this field”.The required attribute can be used on input, select and textarea element.ExampleYou can try to run the following code to implement readonly attribute − HTML placeholder attribute Register
![Govinda Sai](https://www.tutorialspoint.com/assets/profiles/13542/profile/60_86497-1512650655.jpg)
168 Views
Use the rel attribute to see the relationship between the current document and the linked document. It works for , , HTML elements. ExampleYou can try to run the following code to implement rel attribute. The example sets the CSS files − Heading This is demo content.
![Yaswanth Varma](https://www.tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg)
117 Views
In this article we are going to learn about how to specify if and how the authoe thinks the audio/video should be loaded when the page loads in HTML. By using the HTML Audio Preload Attribute, the author can describe how they want the audio to load when the page does. This feature allows the author to tell the browser how to implement a website's user experience. Note − The preload gets ignored when autoplay was present. Syntax Following is syntax for HTML preload attribute. For getting better understanding on how to specify if and how author thinks the audio/video ... Read More
![Yaswanth Varma](https://www.tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg)
195 Views
In this article we are going to learn about how do we set an image to be shown while the video is downloading in HTML. The HTML poster attribute allows the user to display the image when the user clicks the play button or downloads a video. Otherwise, the first frame of the video will be used as the poster image if the poster attribute was not set. Syntax Following is the syntax for HTML attribute. Let’s dive into the following example where you can understand more about HTML attribute. Example 1 In the following example ... Read More
![Yaswanth Varma](https://www.tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg)
79 Views
The task we are going to perform in this article is about how to add a regular expression that an input elements value is checked against in HTML. The regular expression that will be used to check the value of the input element is specified by the HTML pattern attribute. The following input kinds are compatible with this attribute: text, password, date, search, email, etc. Syntax Following is the syntax for HTML pattern attribute. For getting more idea on how to add a regular expression that an input elements value is checked against in HTML, let’s look ... Read More