/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/rdfa.html
81 строка
4 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
<!doctype html> <!-- Test Description: Tests that we allow the global RDFa attributes (as used in schema.org). --> <html ⚡ prefix="dc: http://purl.org/dc/terms/ schema: http://schema.org/"> <head> <meta charset="utf-8"> <script async src="https://cdn.ampproject.org/v0.js"></script> <link rel="canonical" href="./regular-html-version.html"> <meta name="viewport" content="width=device-width,minimum-scale=1"> <meta property="dc:title" content="RDFa Example Page"> <meta property="dc:creator" content="AMP HTML Authors"> <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> </head> <body> <div typeof="schema:TVSeries" about="Buffy-the-Vampire-Slayer"> <h1 property="schema:name">Buffy the Vampire Slayer</h1> <ul> <li><a property="schema:url" href="https://en.wikipedia.org/wiki/Buffy_the_Vampire_Slayer">Wikipedia Page</a></li> <li>Start Date: <span property="schema:startDate" content="1997-03-10">March 10, 1997</span></li> <li>End Date: <span property="schema:endDate" content="2003-05-20">May 20, 2003</span></li> <li>Seasons: <span property="schema:numberOfSeasons">7</span></li> </ul> <h2>Cast</h2> <ul> <li rel="schema:actor" typeof="schema:PerformanceRole"> <span rel="schema:actor" resource="https://en.wikipedia.org/wiki/Nicholas_Brendon">Nicholas Brendon</span> as <span property="schema:characterName">Xander Harris</span> </li> <li rel="schema:actor" typeof="schema:PerformanceRole"> <span rel="schema:actor" resource="https://en.wikipedia.org/wiki/Sarah_Michelle_Gellar">Sarah Michelle Gellar</span> as <span property="schema:characterName">Buffy Summers</span> </li> </ul> </div> <h2>Actors</h2> <div typeof="schema:Person" about="https://en.wikipedia.org/wiki/Sarah_Michelle_Gellar"> <span property="schema:givenName">Sarah Michelle</span> <span property="schema:familyName">Gellar</span> <link property="schema:url" href="https://en.wikipedia.org/wiki/Sarah_Michelle_Gellar"> <meta property="schema:alternateName" content="Sarah Michelle Prinze"> <meta rev="schema:creator" resource="https://example.org/Gellar.jpg"> </div> <div typeof="schema:Person" about="https://en.wikipedia.org/wiki/Nicholas_Brendon"> <span property="schema:givenName">Nicholas</span> <span property="schema:familyName">Brendon</span> <link property="schema:url" href="https://en.wikipedia.org/wiki/Nicholas_Brendon"> <meta property="schema:alternateName" content="Nicholas Brendon Schultz"> <meta rev="schema:creator" resource="https://example.org/Brendon.jpg"> </div> <h2>Photos</h2> <div typeof="schema:ImageObject" about="https://example.org/Gellar.jpg" rev="schema:image" resource="https://en.wikipedia.org/wiki/Sarah_Michelle_Gellar"> <amp-img src="https://example.org/Gellar.jpg" property="schema:contentUrl" alt="Self Portrait by Sarah" layout="fixed" height="320" width="200"></amp-img> <span property="schema:name">Self Portrait</span> </div> <div typeof="schema:ImageObject" about="https://example.org/Brendon.jpg" rev="schema:image" resource="https://en.wikipedia.org/wiki/Nicholas_Brendon"> <amp-img src="https://example.org/Brendon.jpg" property="schema:contentUrl" alt="Self Portrait by Nicholas" layout="fixed" height="320" width="200"></amp-img> <span property="schema:name">Self Portrait</span> </div> </body> </html>