
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

759 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

216 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.

201 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

396 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

171 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

198 Views
In this article we are going to learn about how do we set what value is the optimal value for the gauge in HTML. The optimal value is used to show the range of meters. The value must fall between the minimum and maximum of the range. It is used to specify the scale measurement with a frictional value over a well-defined range. It also goes by the name "gauge." Syntax Following is the syntax for meter. Note − It only contains a floating number to represent the ideal value of the gauge. Let’s look into the following examples ... Read More

240 Views
The task we are going to perform in this article is how to specify that the details should be visible to the user in HTML. The user can open and close more details by using the tag, which specifies them. Create interactive widgets that the user can open and close by using the tag. The widget's closed state by default. It expands when you open it, revealing the contents. The details tag is a container for any kind of content. Syntax Following is the syntax for tag Text content ... Read More

287 Views
Use the name attribute to set the name of the element. You can use this with the following HTML elements: , , , , , , , , , , , ExampleYou can try to run the following code to implement name attribute − Subject: Add an incorrect spelling for a word above and see what happens. This is an editable conttent, with a spelling mistake. Click to edit.