Label HTML

HTML <label> Tag: To define a label for an input element, the HTML <label> Tag is used. To write a parser, browser-friendly and user-friendly, the use of HTML <label> Tag is recommended in HTML forms. Example: <!DOCTYPE html> <html> <body> <form> <label for=”name”>Name:</label><br/> <input type=”text” id=”name” name=”name”/> <br/> <label for=”city”>City:</label><br/> <input type=”text” id=”city” name=”city”/> <br/> … Read more

kbd HTML

HTML <kbd> Tag To represent a user or keyboard input a voice command or similar inputs the HTML <kbd> element is used. It displays the contents in the browser’s default monospace font. Example 1: <!DOCTYPE html> <html> <body> <em>HELLO WORLD!!</em><br> <strong>HELLO WORLD!!</strong><br> <code>HELLO WORLD!!</code><br> <samp>HELLO WORLD!!</samp><br> <kbd>HELLO WORLD!!</kbd><br> <var>HELLO WORLD!!</var> </body> </html> Explanation: In the … Read more

Ins HTML

HTML <ins> Tag A newly added text is represented in an HTML document using the HTML <ins> tag. By default, it is displayed with an underline through the text. The default underlines property, however, can be changed by using CSS property. It is also used with the HTML <del> tag to represent the text that … Read more

Input HTML

HTML <input> Tag The HTML <input> tag is used in an HTML form, in which the “type” attribute is used to define the different types of the information field. The HTML <input> tag is used to specify an input control to create form fields and to take inputs from the user. It is a fundamental … Read more

iframe HTML

HTML <iframe> Tag To display a web page within a web page or a nested web page, the HTML <iframe> Tag is used. HTML Iframes are also known as Inline frames. As the name itself suggests, it defines an inline frame. Syntax: <iframe src=”URL”></iframe> Parameters: src: It is an attribute used to specify the URL. … Read more

HR HTML

HTML <hr> Tag In an HTML document, we can specify a paragraph-level thematic break using the HTML <hr> tag. The <hr> tag represents a Horizontal Rule in HTML. When a topic is changed abruptly in an HTML document, we can use the HTML <hr> tag to draw a horizontal line between the topics. Example 1: … Read more