HTML legend Tag

The HTML <legend> tag is used to define a title or caption for <fieldset>. The <legend> element must be the first child of the <fieldset> element. The legend elements are the parent element. Syntax <legend>text…<legend> Example <!DOCTYPE html> <html> <head> <title>HTML legend Tag Example</title> </head> <body> <form> <fieldset> <legend>Login</legend> Username: <input type=”text”><br/> Password: <input type= “password”><br/> …

HTML legend Tag Read More »

HTML label Tag

The HTML <label> tag is used to defines a text label for <input>, <button>, <input>, <meter>, <output>, <progress>, <select>, or <textarea> element. It toggles the form control when anyone clicks on a label text. The <label> tag can be used in two ways: Use the id attribute inside the <input> element and specify its name as …

HTML label Tag Read More »

HTML kbd Tag

The HTML <kbd> tag is used to define the text that represents the user keyboard input, voice input, or any text entry device. The browser renders the text in monospace font. Syntax <kbd>keyboard input</kbd> Example <!doctype html> <html> <head> <title>HTML kbd Tag</title> </head> <body> <h1>HTML kbd Tag Examples</h1> <p>Press <kbd>Ctrl</kbd>+<kbd>D</kbd> to Bookmark this page.</p> </body> …

HTML kbd Tag Read More »

HTML isindex Tag

The HTML <isindex> tag is used to define search strings in the current document. this tag is placed inside the <head> element and it is a deprecated tag. Syntax <isindex prompt=”search”> Example <!DOCTYPE html> <html>    <head>       <title>HTML isindex tag</title>       <isindex prompt=”Search text” />    </head> </html> Attributes Attribute Value Description prompt hint-text It is used to add a value as a label …

HTML isindex Tag Read More »

HTML ins Tag

The HTML <ins> tag is used to define a newly inserted text in an HTML document. The web browser renders this inserted text as an underline and you can also change it through the text-decoration property of CSS. The <del> element defines the part of the text that has been deleted and <ins> defines the …

HTML ins Tag Read More »

HTML input Tag

The HTML <input> tag is used to represent a form input control in an HTML document. This tag is used within a form and the form allows the user to input data and interacts with a website or application. The <Input> tag is an empty element that contains only attributes. Syntax <input type=”value” /> Example …

HTML input Tag Read More »

HTML img Tag

The HTML <img> tag is used to add images into an HTML Images are not directly inserted into web pages. Images are linked to web pages and it creates a holding space for the image. These two attributes are very important in the <img> tag src attribute this attribute is used to define the source …

HTML img Tag Read More »