- 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
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
207 Views
In HTML, the tag stands for horizontal rule and is most commonly displayed as a horizontal line used to separate content (or define a change) in an HTML page. The tag is an empty tag that does not need to be followed by a closing tag. Following is the syntax of this tag – ... It supports the following attributes: align: It determines the rule's alignment (left/ centre/ right) on the page. The default value(left) is used if no value is specified. color: It sets the rule's colour using a colour name or hexadecimal value. ... Read More
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
2K+ Views
In HTML, unordered lists are collections of items that do not have to be in any particular order. To list these items, we frequently use simple bullet points and that is why they are often known as bulleted lists. An unordered list begins with the tag and closes with a tag. The list items begin with the tag and end with tag. The tag, which stands for unordered list, is the li tag's parent. This means that the tag is the tag's child. Following is the syntax List of Items There can be ... Read More
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
581 Views
A list is a record of short pieces of related information used to display the data or any information in web pages in an ordered or unordered form. Lists are used to group related pieces of information together so that they are clearly associated with one another and easy to read. They are beneficial from a structural point of view because they aid in the creation of a well-structured, more accessible, and easy-to-maintain document. They are also useful because they provide specialized elements to which CSS styles can be applied. HTML lists enable web developers to organize a collection of ... Read More
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
625 Views
Word wrapping is the process of automatically moving a word at the end of a line onto a new line in order to keep the text within the margins. In HTML, this translates to the very fact that text within an element wraps according to the bounds of that element.Example Let us consider an example where we have a element with some text and it is styled to have a fixed width. div{ ... Read More
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
997 Views
The HTML autocomplete attribute specifies whether autocomplete should be enabled or disabled for an input field. It enables the browser to make a prediction about the value. When a user starts typing in a field, the browser should display fill-in options based on previously typed values. It is available on elements such as elements, elements, and elements as they accept a text or numeric value as input. It takes two attribute values, on and off. On: It specifies that the autocomplete is enabled. Off: It indicates that autocomplete is turned off. Browsers enable the ... Read More
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
363 Views
The HTML element represents a document section with interactive controls for submitting data. It is a container for input elements such as text, email, numbers, radio buttons, checkboxes, submit buttons, and so on. Forms are created by embedding input fields within paragraphs, preformatted text, lists, and tables. This provides a great deal of freedom in designing form layouts. Following is the syntax – There are numerous form elements. A few of them are discussed below: input: It specifies a data entry field for the user. label: It defines a label for ... Read More
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
677 Views
The HTML tag is used to define the square boxes that are ticked (checked) when activated. Checkboxes are used to allow a user to select one or more options from a limited number of options. The type attribute of the element, as shown in the following syntax, creates it. Checkbox supports the following attributes: Checked: A Boolean attribute that indicates whether this checkbox is checked by default (when the page loads). It does not indicate whether this checkbox is currently checked: if the checkbox's state changes, this content attribute does not update. Value: The value ... Read More
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
2K+ Views
The HTML element is an interactive element that a user can activate with a mouse click or keyboard shortcut. It performs a programmable action, such as submitting a form or opening a dialogue, once activated. Buttons are typically created using the HTML , or tags. Syntax Apart from the ‘type’ attribute, the button tag uses other attributes such as autofocus, disabled, form, formaction, formmethod, value etc. When a button contains a long text it becomes necessary to add line breaks while creating it. There are a couple of ways of achieving this as discussed ... Read More
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
1K+ Views
A table is basically a structured collection of data comprising of rows and columns (tabular data). HTML tables enable web designers to organize data like text, images, links, other tables, and so on into rows and columns of cells. They are created with the tag, which incorporates the tag for table rows, the tag for table headers and the tag for data cells. By default, the elements under are regular and left aligned. ExampleLet us have a look at the example below which demonstrates a simple table in HTML. ... Read More
![Eesha Gandhi](https://www.tutorialspoint.com/assets/profiles/712131/profile/60_2970247-1694147322.jpg)
310 Views
The element is one of the most widely used elements in HTML. The term "" refers to a container that divides the page into sections. These sections are extremely useful for grouping elements together. elements don’t inherently have a visual representation, but they are very useful when we want to apply custom styles to our HTML elements. They allow us to group elements to apply the same styles for all elements inside. We can also style the entire div> element. It is simple to style by using the class or id attribute. ExampleHere is a simple example showing ... Read More