Category: 1. HTML Misc

  • 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 Registration Form

    Following are some different types of Forms: 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 <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 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…

  • HTML code tag

    HTML <code> tag is used to represent computer code. It is a phrase tag which defines a piece of computer code. By default, it is displayed in the browser’s default monospace font (also known as fixed-width font). List of HTML phrase tags Tag Description <em> displays emphasized text <strong> displays important text <dfn> defines a definition…

  • HTML <Checkbox> Tag

    The HTML <checkbox> tag is used to define the square boxes. It is a form element which allows users to select one or more options from the given options. It is created by the type attribute of the <input> element as shown in the following syntax: If we want to select any checkbox by default, then we have to set the…

  • HTML <Button onClick=” “>

    The Html <button onclick=” “> is an event attribute, which executes a script when the button is clicked. This attribute is supported by all browsers. It is also used to call a function when the button is clicked. Syntax: Examples: Example 1: Following example describes how to use the button tag: Output: Browser Support Element  Chrome  IE…