تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الجمعة 12 آذار (مارس) 2010
معيار HTML5 هو الإصدار الرئيسي الخامس من لغة الترميز HTML، وهي اللغة الأساسية لشبكة الويب العالمية. تتضمن مواصفات HTML5 وصفًا للبيانات الجزئية، وهي عبارة عن معيار ترميز جديد لتحديد المعلومات المنظّمة داخل صفحات الويب.
يسعدنا اليوم أن نعلن عن دعم البيانات الجزئية لاستخدامها في المقتطفات المنسّقة بالإضافة إلى دعمنا الحالي لتنسيقات microformat وRDFa. باستخدام ترميز البيانات الجزئية في صفحات الويب الخاصة بك، يمكنك تحديد معلومات المراجعات أو الملفات الشخصية أو الفعاليات على صفحات الويب والتي قد تستخدمها Google لتحسين عرض صفحاتك في نتائج البحث من Google.
في ما يلي كتلة HTML بسيطة تعرض قسمًا من مراجعة لـ "L'Amourita Pizza"
:
<div>
<h1>Review: L'Amourita Pizza</h1>
Written by Bob Smith
Jan 15, 2010
Rated <b>4.5</b> - Excellent
</div>
إليك محتوى HTML نفسه مع إضافة البيانات الجزئية لتحديد المطعم الذي تتم مراجعته والمؤلف وتاريخ المراجعة والتقييم:
تتميز البيانات الجزئية بخاصية رائعة وهي الموازنة بين المحتوى المنسّق والبساطة. من السهل
إضافة ترميز إلى صفحاتك باستخدام بعض سمات HTML، مثل itemscope (لتحديد
عنصر جديد)، وitemtype (لتحديد نوع العنصر الذي يتم وصفه)،
وitemprop (لتحديد سمة لذلك العنصر). بعد إضافة الترميز إلى إحدى الصفحات، يمكنك اختباره باستخدام أداة اختبار المقتطفات المنسقة للتأكد من أنّ محرّك بحث Google يمكنه تحليل البيانات الموجودة على صفحتك.
كما هي الحال مع تنسيقات microformat وRDFa، يتم في مستندات المقتطفات المنسقة تحديد المفردات المتوافقة لدينا، بما في ذلك أنواع العناصر
وسمات العناصر التي يفهمها محرّك بحث Google،
وكذلك في data-vocabulary.org. لا يضمن ترميز المحتوى الخاص بك ظهور مقتطفات منسّقة لموقعك الإلكتروني، لذلك ستعمل Google على توسيع استخدام ترميز البيانات الجزئية تدريجيًا لضمان تجربة مستخدم رائعة.
[null,null,[],[[["\u003cp\u003eThis blog post is outdated; refer to the current documentation on structured data for the latest information.\u003c/p\u003e\n"],["\u003cp\u003eGoogle now supports microdata for rich snippets, alongside existing support for microformats and RDFa.\u003c/p\u003e\n"],["\u003cp\u003eMicrodata allows you to specify structured information like reviews, profiles, and events within web pages, which Google may use to enhance search result presentation.\u003c/p\u003e\n"],["\u003cp\u003eMicrodata uses attributes like \u003ccode\u003eitemscope\u003c/code\u003e, \u003ccode\u003eitemtype\u003c/code\u003e, and \u003ccode\u003eitemprop\u003c/code\u003e to easily add markup to web pages for specifying structured data.\u003c/p\u003e\n"],["\u003cp\u003eWhile rich snippets are not guaranteed, using microdata enables Google to better understand and potentially enhance the display of your content in search results.\u003c/p\u003e\n"]]],["Microdata, a new markup standard within HTML5, enables the specification of structured information on web pages. This allows users to add markup to their web pages using attributes such as `itemscope`, `itemtype`, and `itemprop`, to define and describe items like reviews, people profiles, or events. Google supports microdata for rich snippets and offers a testing tool to validate the markup. This information helps Google enhance the presentation of pages in search results.\n"],null,["# Microdata support for Rich Snippets\n\n| It's been a while since we published this blog post. Some of the information may be outdated (for example, some images may be missing, and some links may not work anymore). Check out our [current documentation on structured data](/search/docs/appearance/structured-data/intro-structured-data).\n\nFriday, March 12, 2010\n\n\nHTML5 is the fifth major revision of HTML, the core language of the World Wide Web. The HTML5\nspecification includes a description of **microdata**, a new markup standard for specifying\nstructured information within web pages.\n\n\nToday, we're happy to announce support for microdata for use in\n[rich snippets](/search/docs/appearance/structured-data/intro-structured-data)\nin addition to our existing support for microformats and RDFa. By using microdata markup in your\nweb pages, you can specify\n[reviews](/search/docs/appearance/structured-data/review-snippet),\n[people profiles](/search/docs/appearance/structured-data/intro-structured-data),\nor\n[events](/search/docs/appearance/structured-data/event)\ninformation on your web pages that Google may use to improve the presentation of your pages in\nGoogle search results.\n\n\nHere is a simple HTML block showing a section of a review of\n\"L'Amourita Pizza\"\n: \n\n```\n \u003cdiv\u003e\n \u003ch1\u003eReview: L'Amourita Pizza\u003c/h1\u003e\n Written by Bob Smith\n Jan 15, 2010\n Rated \u003cb\u003e4.5\u003c/b\u003e - Excellent\n \u003c/div\u003e\n```\n\n\nHere is the same HTML with microdata added to specify the restaurant being reviewed, the author\nand date of the review, and the rating: \n\n```\n \u003cdiv itemscope itemtype=\"https://data-vocabulary.org/Review\"\u003e\n \u003ch1\u003eReview: \u003cspan itemprop=\"itemreviewed\"\u003eL'Amourita Pizza\u003c/span\u003e\u003c/h1\u003e\n Written by \u003cspan itemprop=\"reviewer\"\u003eBob Smith\u003c/span\u003e\n \u003ctime itemprop=\"dtreviewed\" datetime=\"2010-01-15\"\u003eJan 15, 2010\u003c/time\u003e\n Rated \u003cb itemprop=\"rating\"\u003e4.5\u003c/b\u003e - Excellent\n \u003c/div\u003e\n```\n\n\nMicrodata has the nice property of balancing richness with simplicity. As you can see, it's easy\nto add markup to your pages using a few HTML attributes like `itemscope` (to define a\nnew item), `itemtype` (to specify the type of item being described), and\n`itemprop` (to specify a property of that item). Once you've added markup to a page,\nyou can test it using the\n[rich snippets testing tool](https://www.google.com/webmasters/tools/richsnippets)\nto make sure that Google can parse the data on your page.\n\n\nAs with microformats and RDFa, the vocabulary that we support---including which item types\nand item properties are understood by Google---is specified in our rich snippets documentation\nas well as on data-vocabulary.org. Marking up your content does not guarantee that rich\nsnippets will show for your site; Google will expand the use of microdata markup gradually to\nensure a great user experience.\n\nTo get started, here are some helpful links:\n\n- [Rich snippets documentation](/search/docs/appearance/structured-data/intro-structured-data)\n- [Overview of microdata](/search/docs/appearance/structured-data/intro-structured-data)\n- [Official microdata specification](https://www.whatwg.org/specs/web-apps/current-work/multipage/microdata)\n- [Rich snippets testing tool](https://www.google.com/webmasters/tools/richsnippets)\n\n\nWritten by Siddhartha Chattopadhyay, Kavi Goel, Ramanathan V. Guha, [Pravir Gupta](/search/blog/authors/pravir-gupta), Othar Hansson"]]