What additional information can we give search engines about the movie Avatar? Movies have interesting properties such as actors, director, ratings. Item types are provided as URLs, in this case. This specifies that the item contained in the div is in fact a Movie, as defined in the type hierarchy. You can specify the type of item using the itemtype attribute immediately after the itemscope. block is about a particular item.īut it's not all that helpful to specify that there is an item being discussed without specifying what kind of an item it is. To do this, add the itemscope element to the HTML tag that encloses information about the item, like this:ĭirector: James Cameron (born August 16, 1954) īy adding itemscope, you are specifying that the HTML contained in the. To begin, identify the section of the page that is "about" the movie Avatar. Your HTML code might look something like this:ĭirector: James Cameron (born August 16, 1954) Imagine you have a page about the movie Avatar-a page with a link to a movie trailer, information about the director, and so on. Microdata is a set of tags, introduced with HTML5, that allows you to do this. By adding additional tags to the HTML of your web pages-tags that say, "Hey search engine, this information describes this specific movie, or place, or person, or video"-you can help search engines and other applications better understand your content and display it in a useful, relevant way. But search engines have a limited understanding of what is being discussed on those pages. Your web pages have an underlying meaning that people understand when they read the web pages. How to mark up your content using microdata 1a. Advanced topic: Machine-understandable versions of informationġ.How to mark up your content using microdata.The basic ideas (types, properties etc.) introduced here are relevant beyond Microdata - take a look at the Most examples on the site show examples in RDFa and JSON-LD too. This guide will help get you up to speed with Microdata and so that you can start adding markup to your web pages.Īlthough this guide focuses on Microdata, JSON-LD formats to add information to your Web content. You use the vocabulary along with the Microdata, RDFa, or provides a collection of shared vocabularies webmasters can use to mark up their pages in ways that can be understood by the major search engines: Google, Microsoft, Yandex and Yahoo! However, the HTML tag doesn't give any information about what that text string means-"Avatar" could refer to the hugely successful 3D movie, or it could refer to a type of profile picture-and this can make it more difficult for search engines to intelligently display relevant content to a user. For example, Avatar tells the browser to display the text string "Avatar" in a heading 1 format. Usually, HTML tags tell the browser how to display the information included in the tag. ![]() Most webmasters are familiar with HTML tags on their pages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |