Meter HTML

HTML <meter> Tag To specify a scalar measurement with range or in more simple words, to measure data within a given range. the HTML <meter> tag is used. Also known as a gauge, this tag is used to display disk usage, voting population, etc. It was introduced in HTML5. Example 1: <!DOCTYPE html> <html> <body> … Read more

Meta HTML

HTML <meta> Tag To specify the document title, character set, page description, keywords, author, and other meta information, the HTML <meta> element is used. Example: <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″> <meta name=”description” content=”HTML Examples”> <meta name=”keywords” content=”HTML,CSS,JavaScript”> <meta name=”author” content=”Codes Java”> </head> <body> <p>Hello World!!</p> </body> </html> Explanation: In the above example, we added … Read more

Menu HTML

HTML <menu> Tag To define a list or menu of commands the HTML <menu> tag is used. The user can perform or activate these commands. It thus creates a context menu as well as a list menu and can contain multiple <li> or <menuitem> elements within it. It is not recommended to use as it … Read more

Mark HTML

HTML <mark> Tag To highlight a part of the text, to mark it as important for reference or any other notation purpose, the HTML <mark> tag is used. It was introduced in HTML5. It usually displays the content with a yellow background. The background color can be changed using the CSS style property. Syntax: <mark>Content</mark> … Read more

Map HTML

HTML <map> Tag To specify a client-side image map, the HTML <map> tag is used. An image with clickable areas is what an image map is. A new or specified destination opens on clicking the image. The <area> elements within the <map> tag specify the coordinates and shape of the area. Thus a part of … Read more

Main HTML

HTML <main> Tag The main content of the <body> tag can be specified using the HTML <main> tag. Thus, the primary content of a page can be accurately described using the HTML <main> tag. It is placed within the HTML <body> tag. It was introduced in HTML5. It is recommended to use only one <main> … Read more

link HTML

HTML <link> Tag To link an external source to the current document, the HTML <link> tag is used. It can also be used with link site icons. It is placed within the <head> tag of the HTML document. Syntax: <link rel=”stylesheet” type=”text/css” href=””> Example: <!DOCTYPE html> <html> <head> <link rel=”stylesheet” type=”text/css” href=”style.css”> </head> <body> <h1>HELLO … Read more

li HTML

HTML <li> Tag The list items in an HTML Ordered and Unordered List start with the <li> tag. In an ordered list, all the list items are marked with numbers by default, while in an unordered list, all the list items are marked with bullets by default. Example 1: Ordered List. <!DOCTYPE html> <html> <body> … Read more

Legend HTML

HTML <legend> Tag To insert a title or caption to the <fieldset> tag, the HTML <legend> tag is used. For this, the first child of the HTML <fieldset> tag should be the HTML <legend> tag. Thus understanding the purpose of the grouped form elements becomes easy. Syntax: <legend>Content<legend> Example: <!DOCTYPE html> <html> <body> <form> <fieldset> … Read more