HTML itemprop Attribute Last Updated : 30 Aug, 2024 Comments Improve Suggest changes Like Article Like Report The HTML itemprop attribute is a global attribute, that is basically used to add a property to an item. This is used to add extra information to the web page so that it can be relevant and more specifically searched by the search engines.Syntax:<div itemscope itemtype="URL"> <span itemprop="itemNumber1">name of the item</span> <span itemprop="itemNumber2">name of the item</span></div>The below examples demonstrate the HTML itemprop attribute:Example 1: In this example, the itemprop attribute is used to specify the property of the span element. It helps search engines to understand that the item in the div is about "geeksforgeeks" having a description as "GeeksForGeeks is an awesome website that covers articles on the majority of the topics on Computer Science field" and having article "Dynamic programming". HTML <!DOCTYPE html> <html> <body> <h1>GeeksForGeeks</h1> <h4>Articles</h4> <div itemscope itemtype="http://geeksforgeeks.org"> <span itemprop="description"> GeeksForGeeks is an awesome website that covers articles on majority of the topics on Computer Science field </span> <br><br> Article : <span itemprop="article"> Dynamic programming </span> </div> </body> </html> Output:HTML itemprop AttributeExample 2: In this example, the search engines can understand that given div has a URL that contains "Information" about a film named "Avengers" which is of genre "Action" and is directed by "Russo Brothers". HTML <!DOCTYPE html> <html> <body> <div itemscope itemtype= "https://en.wikipedia.org/wiki/Film"> <h1 itemprop="name">Avengers</h1> <br> <span>Directors : <span itemprop="Directors"> Russo Brothers </span> </span> <br> <span>Genre : <span itemprop="genre"> Action </span> </span> <br> <a itemprop="Information" href= "https://en.wikipedia.org/wiki/Avengers_(Marvel_Cinematic_Universe)"> Information </a> </div> </body> </html> Output:HTML itemprop AttributeSupported Browsers:Google ChromeEdge FirefoxOperaSafari Comment More infoAdvertise with us Next Article HTML itemprop Attribute K kamabokogonpachiro Follow Improve Article Tags : HTML HTML-Attributes Similar Reads HTML itemscope Attribute The HTML itemscope attribute works with item types to ensure that the HTML contained in a block is about a particular item. Â Defining the itemscope attribute for any element creates a new item, which results in a number of name-value pairs that are associated with the element.Syntax:<element item 2 min read HTML ismap Attribute The HTML ismap attribute is a boolean attribute. When exists, it specifies that the image is a component element of a server-side image-map (an image-map is a picture with clickable areas). When clicking on a server-side image-map, the press coordinates square measure sent to the server as a URL que 2 min read HTML type Attribute The type attribute in HTML specifies the type of content associated with an element, such as the button type, the media type of a source in an audio or video tag, or the type of input in a form element. Syntax: <element type="value"> Note: This attribute has been DEPRECATED and is no longer re 2 min read HTML list Attribute The HTML list attribute associates an input field with a datalist element, providing a predefined list of options for user selection.Usage: This attribute is used by the <input> element.Syntax: <input list="name">Where name is a string that will work as id and will be used to link the 3 min read HTML size Attribute The size attribute in HTML is used to specify the initial width for the input field and the number of visible rows for the select element.The size attribute can be used with the following elements:Â Â <input><hr><select><font>Â Attribute Values: It contains a numeric value that 3 min read Like