Category: HTML Misc
-
HTML Space Code
There are multiple ways to insert spaces between the words or characters: Using Spacebar To add a space between the words, first we have to click where we want to add a space and then press space bar. The HTML document use only one space between the words. In simple words, if we press spacebar…
-
HTML Required Attribute
The HTML Required attribute is a Boolean attribute which specifies that the input element must be filled out before the submission of form. This attribute used with the following elements: <input> We can easily use the required attribute with the <input> element as shown in the following syntax: Example Output: <select> We can easily use the required…
-
HTML Search Box
The HTML Search Box allows a user to search the content. The Search is a value of type attribute of an <input> element. Syntax Examples: The following examples have used the different CSS codes for displaying the different Search boxes on the web page. Example 1: Output: Example 2: In this example, we have not used the search value of the type attribute of an input element.…
-
HTML Registration Form
Code 1: The following code describes how to create a simple registration Page. Output: Code 2: The following code describes how to create a responsive registration form with the use of CSS. Output:
-
HTML Reset Button
The Reset is the value of the type attribute of the <Button> element. It is used to reset the filled values of a form to its initial values. Syntax Example Example: Output: Browser Support Element Chrome IE Firefox Opera Safari Reset Button Yes Yes Yes Yes Yes
-
HTML Hide Element
You can hide an element by using the Boolean attribute hidden with the element. When you specify the hidden attribute in the HTML file, then the browser will not display that element, which is specified with this attribute. Syntax Examples:T he following examples are specified to understand easily how to use the hidden attribute with different elements or tags:…
-
HTML <Radio> Tag
The HTML <Radio> button is used to define the small circles, which are highlighted when selected. It is a form element which allows the users to select only one option from the given set of options. It is created by the type attribute of the <input> element as shown in the following syntax: Example Output:
-
Html<button> type
The type is an attribute of <button> element, which sets the type of the button as described in the following syntax: Following are the three values of type attribute: Example: Output: Browser Support Element Chrome IE Firefox Opera Safari <Button type=””> Yes Yes Yes Yes Yes
-
Html Login Form
The following code describes how to create a responsive login form using CCS: Output:
-
HTML favicon
A favicon is a small file containing the one or more icons which are used to represent the website or a blog. It is also known as a tab icon, website icon, URL icon, or a bookmark icon. This icon is actually displayed on the address bar, browser’s tab, browser history, bookmark bar, etc. The image of…