Monthly Archives: June 2022

HTML Input Attributes

This chapter describes the different attributes for the HTML <input> element. The value Attribute The input value attribute specifies an initial value for an input field: Example Input fields with initial (default) values: <!DOCTYPE html> <html> <body> <h1>The input value attribute</h1> <p>The value attribute specifies an initial value for an input field:</p> <form action=”/action_page.php”>  <label for=”fname”>First name:</label><br>  <input type=”text”… Read More »

HTML Input Types

This chapter describes the different types for the HTML <input> element. HTML <input> type Attribute Here are the different input types you can use in HTML: <input type=”button”> <input type=”checkbox”> <input type=”color”> <input type=”date”> <input type=”datetime-local”> <input type=”email”> <input type=”file”> <input type=”hidden”> <input type=”image”> <input type=”month”> <input type=”number”> <input type=”password”> <input type=”radio”> <input type=”range”> <input type=”reset”> <input type=”search”> <input… Read More »

HTML Form Elements

This chapter describes all the different HTML form elements. The HTML <form> Elements The HTML <form> element can contain one or more of the following form elements: <input> <label> <select> <textarea> <button> <fieldset> <legend> <datalist> <output> <option> <optgroup> The <input> Element One of the most used form element is the <input> element. The <input> element can be displayed in several ways,… Read More »

HTML Form Attributes

This chapter describes the different attributes for the HTML <form> element. The Action Attribute The action attribute defines the action to be performed when the form is submitted. Usually, the form data is sent to a file on the server when the user clicks on the submit button. In the example below, the form data is sent to a… Read More »

HTML Forms

An HTML form is used to collect user input. The user input is most often sent to a server for processing. The <form> Element The HTML <form> element is used to create an HTML form for user input:<form>.form elements.</form> The <form> element is a container for different types of input elements, such as: text fields, checkboxes, radio buttons, submit… Read More »

HTML Uniform Resource Locators

A URL is another word for a web address. A URL can be composed of words (e.g. help.rerfindia.org), or an Internet Protocol (IP) address (e.g. 192.68.20.50). Most people enter the name when surfing, because names are easier to remember than numbers. URL – Uniform Resource Locator Web browsers request pages from web servers by using… Read More »

HTML Encoding (Character Sets)

To display an HTML page correctly, a web browser must know which character set to use. From ASCII to UTF-8 ASCII was the first character encoding standard. ASCII defined 128 different characters that could be used on the internet: numbers (0-9), English letters (A-Z), and some special characters like ! $ + – ( )… Read More »

Using Emojis in HTML

Emojis are characters from the UTF-8 character set: 😄 😍 💗 What are Emojis? Emojis look like images, or icons, but they are not. They are letters (characters) from the UTF-8 (Unicode) character set. The HTML charset Attribute To display an HTML page correctly, a web browser must know the character set used in the… Read More »

HTML Symbols

Symbols that are not present on your keyboard can also be added by using entities. HTML Symbol Entities HTML entities were described in the previous chapter. Many mathematical, technical, and currency symbols, are not present on a normal keyboard. To add such symbols to an HTML page, you can use the entity name or the… Read More »

HTML Entities

Reserved characters in HTML must be replaced with character entities. HTML Entities Some characters are reserved in HTML. If you use the less than (<) or greater than (>) signs in your text, the browser might mix them with tags. Character entities are used to display reserved characters in HTML. A character entity looks like… Read More »