SlideShare una empresa de Scribd logo
1 de 29
Семантика і мікроформати ,[object Object],[object Object]
Зміст доповіді 1. Семантична верстка 1.1 Що таке семантика і семантична верстка 1.2 Логіка документу 1.3 Елементи, які використовуються у семантичній  верстці 1.4 Коротко про HTML 5 1.5 Приклад верстки 1.6 Переваги семантичної верстки 2. Мікроформати. 2.1 Що таке мікроформати 2.2 Які існують мікроформати 2.3 Приклади використання мікроформатів 2.4 Плон і мікроформати
Семантика - значення мовних одиниць - окремих слів, фразеологізмів, складових частин слова тощо. Значення слова, виразу. Семантична верстка – це використання html елементів за їх призначенням. Що таке семантика
Логіка документу 2.4.1 Розділення структури і представлення HTML має коріння в SGML, який завжди був мовою специфікації структурної розмітки. Оскільки HTML вже достатньо розвинувся, все більше його елементів представлення і атрибутів замінюються іншими механізмами, особливо - таблицями стилів. Досвід показує, що відділення структури документа від його представлення зменшує вартість обслуговування на основі широкого спектру платформ, носіїв і т.д. і полегшує оновлення документів. HTML на первинному етапі свого розвитку містив в собі тільки елементи логічної структуризації контента.
9.2.1  Елементи абзацу:  EM ,  STRONG ,  DFN ,  CODE ,  SAMP ,  KBD ,  VAR ,  CITE ,  ABBR  и  ACRONYM Елементи абзацу додають структурну інформацію до фрагментів тексту. Звичайне значення елементів абзацу таке: EM : Вказує акцент. Використовується для виділення тексту. Зазвичай відображається ПА курсивом. STRONG : Вказує сильніший акцент.. Використовується для виділення тексту. Зазвичай відображається ПА як напівжирний. CITE : Містить цитату або посилання на інші джерела. DFN : Указує, що це визначальний зразок терміну, що додається. CODE : Позначає фрагмент комп'ютерного коду. 9.2 Структурований текст
SAMP: Позначає типовий вивід програм, сценаріїв, і т.п. KBD : Позначає текст, введений користувачем. VAR : Позначає зразок змінної або програмного аргументу. ABBR : Позначає абревіатуру (напр., WWW, HTTP, URI, Mass. і т.п.). ACRONYM : Позначає акронім (напр., WAC, radar і т.п.). Продовження
Абревіатура  (лат. abbrevio — скорочую) — складноскорочені слова, утворені з перших літер або з інших частин слів, що входять до складу назви чи поняття. Вживаються в усній та писемній мові. Абревіатури називають також акронімами (від грец. άκρος — «найвищий, крайній» та όνυμος — «ім'я»). (Щодо застосування терміну «акронім» існують різні думки: за однією, акронімами називають будь-які слова, складені з перших літер чи частин слів у скорочуваному словосполученні, за іншою — тільки такі, що вимовляються як цілісні слова, а не як послідовність назв літер). Wikipedia Продовження
The  BLOCKQUOTE  and  Q  elements Attribute definitions cite = uri [CT] The value of this attribute is a URI that designates a source document or message. This attribute is intended to give information about the source from which the quotation was borrowed. These two elements designate quoted text. BLOCKQUOTE is for long quotations (block-level content) and Q is intended for short quotations (inline content) that don't require paragraph breaks. 9.2.2 Quotations:
The  SUB  and  SUP  elements Many scripts (e.g., French) require superscripts or subscripts for proper rendering. The SUB and SUP elements should be used to markup text in these cases. З версткою даних елементів є нюнси, по замовчування вони роздувають рядок в якому вони є. 9.2.3 Subscripts and superscripts:
The  P  element The P element represents a paragraph. It cannot contain block-level elements (including P itself). We discourage authors from using empty P elements. User agents should ignore empty P elements. 9.3.1 Paragraphs:
The  BR  element forcibly breaks (ends) the current line of text. 9.3.2 Controlling line breaks
In HTML, there are two types of hyphens: the plain hyphen and the soft hyphen. The plain hyphen should be interpreted by a user agent as just another character. The soft hyphen tells the user agent where a line break can occur. Those browsers that interpret soft hyphens must observe the following semantics: If a line is broken at a soft hyphen, a hyphen character must be displayed at the end of the first line. If a line is not broken at a soft hyphen, the user agent must not display a hyphen character. For operations such as searching and sorting, the soft hyphen should always be ignored. In HTML, the plain hyphen is represented by the "-" character (- or -). The soft hyphen is represented by the character entity reference ­ (­ or ­) 9.3.3 Hyphenation
The  INS  and  DEL  elements Attribute definitions cite = uri [CT] The value of this attribute is a URI that designates a source document or message. This attribute is intended to point to information explaining why a document was changed. datetime = datetime [CS] The value of this attribute specifies the date and time when the change was made. INS and DEL are used to markup sections of the document that have been inserted or deleted with respect to a different version of a document (e.g., in draft legislation where lawmakers need to view the changes). These two elements are unusual for HTML in that they may serve as either block-level or inline elements (but not both). They may contain one or more words within a paragraph or contain one or more block-level elements such as paragraphs, lists and tables. 9.4 Marking document changes:
10.2 Unordered lists (UL),  ordered   lists (OL), and list items (LI) Ordered and unordered lists are rendered in an identical manner except that visual user agents number ordered list items. User agents may present those numbers in a variety of ways. Unordered list items are not numbered. Both types of lists are made up of sequences of list items defined by the LI element (whose end tag may be omitted). Definition lists vary only slightly from other types of lists in that list items consist of two parts: a term and a description. The term is given by the DT element and is restricted to inline content. The description is given with a DD element that contains block-level content. Another application of DL, for example, is for marking up dialogues, with each DT naming a speaker, and each DD containing his or her words.
Елементи DIV & SPAN div  – блочний елемент span  – строковий елемент 7.5.4  Групування елементів: елементи DIV і SPAN Елементи DIV і SPAN в комбінації з атрибутами id і class надають загальний механізм для додавання структури для документу. Дані елементи визначають вміст як строковий (SPAN) чи рівня блоку (DIV), але не нав'язують інших ідіом представлення вмісту. Таким чином, автори можуть використовувати дані елементи в комбінації з таблицями стилів, атрибутом lang і т. д. і пристосувати HTML до виконання потрібних завдань.
HTML  5 Приклади нових елементів HTML 5 3.8 Sections 3.8.1 The  body  element 3.8.2 The  section  element 3.8.3 The  nav  element 3.8.4 The  article  element 3.8.5 The  aside  element 3.8.6 The  h1 ,  h2 ,  h3 ,  h4 ,  h5 , and  h6  elements 3.8.7 The  header  element 3.8.8 The  footer  element 3.8.9 The  address  element WHATWG - "Web Hypertext Application Technology Working Group" ( www.whatwg.org ) The WHATWG was founded by individuals of Apple, the Mozilla Foundation, and Opera Software in 2004,
Код: <div class=&quot;heading1&quot;> Я текст схожий візуально на    заголовок першого рівня </div> <div class=&quot;paragraph&quot;> Я текст схожий на параграф </div> <h1&quot;> Я справжній заголовок першого рівня </h1> <p> Я справжній параграф </p> Стилі : .heading1 { font-size:32px; font-weight:bold; margin:22px 0; } Приклад верстки
Переваги семантики 1. Підвищення доступності сайту для альтернативних пристроїв перегляду - мобильні переглядачі - голосові переглядачі - версія сайту для друку - пошукові боти 2. Зрозуміла структура коду. 3. Зменшення кількості коду. 4. Позитивна оцінка колег.
Microformats are small bits of HTML that represent things like people, events, tags, etc. in web pages. Microformats enable the publishing of higher fidelity information on the Web, providing the fastest and simplest way to support feeds and APIs for your website. See more explanations of what are microformats, and what you can do with them.  Мікроформати
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Specifications
[object Object],[object Object],[object Object],[object Object],Продовження
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Drafts
[object Object],[object Object],[object Object],Продовження
Використання мікроформатів Новини        Feedburner, news.google.com  hAtom Адресна книга plaxo, linkedin, facebook   hCard + XFN Календарі   upcoming, ckopo.in.ua    hCalendar
upcoming.yahoo.com - hCalendar Tails Export Firefox Add-ons
Operator by Michael Kaply Operator leverages microformats and other semantic data that are already available on many web pages to provide new ways to  interact with web services. Tails Export by Robert de Bruin An extension for Showing and Exporting Microformats. Currently it supports the following formats... Firefox Add-ons
Плон і мікроформати
Посилання HTML 4.01 Specification - http://www.w3.org/TR/html401 Семантическая вёрстка -  http://pepelsbey.net/2008/04/semantic-coding-1/ Семантическая верстка — советы и решения -  http://flack.ru/2007/11/29/semantic-coding-howto-1/ Microformats - http://microformats.org
Дякую Дякую за увагу!

Más contenido relacionado

Similar a Semantic Coding and Microformats

лаб. роб. №2 обєкти та сервіси що ними надаються
лаб. роб. №2   обєкти та сервіси що ними надаютьсялаб. роб. №2   обєкти та сервіси що ними надаються
лаб. роб. №2 обєкти та сервіси що ними надаютьсяcit-cit
 
Лекція №12 Передача параметрів у функцію.pptx
Лекція №12 Передача параметрів у функцію.pptxЛекція №12 Передача параметрів у функцію.pptx
Лекція №12 Передача параметрів у функцію.pptxssuserf57884
 
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML. Форматуванн...
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML.  Форматуванн...Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML.  Форматуванн...
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML. Форматуванн...lisovvolod
 
Тема 12 - Ініціатива відкритих форматів. XML та метадані.
Тема 12 - Ініціатива відкритих форматів. XML та метадані.Тема 12 - Ініціатива відкритих форматів. XML та метадані.
Тема 12 - Ініціатива відкритих форматів. XML та метадані.Oleg Nazarevych
 
Урок 14. Засоби автоматизації створення текстового документа
Урок 14. Засоби автоматизації створення текстового  документа Урок 14. Засоби автоматизації створення текстового  документа
Урок 14. Засоби автоматизації створення текстового документа Василь Тереховський
 
Presentation # 24. hypertext markup language concept
Presentation # 24.  hypertext markup language conceptPresentation # 24.  hypertext markup language concept
Presentation # 24. hypertext markup language conceptNikolay Shaygorodskiy
 
основи Web дизайну
основи Web дизайнуоснови Web дизайну
основи Web дизайнуzaykoannaivanivna
 
МАПО Лекция 13 Схема компонентов UML
МАПО Лекция 13 Схема компонентов UMLМАПО Лекция 13 Схема компонентов UML
МАПО Лекция 13 Схема компонентов UMLОлег Гудаев
 
Html перші кроки
Html перші крокиHtml перші кроки
Html перші крокиIrina Tabanets
 
Довідка по експлуатації програми "Менеджер форматорів"
Довідка по експлуатації програми "Менеджер форматорів"Довідка по експлуатації програми "Менеджер форматорів"
Довідка по експлуатації програми "Менеджер форматорів"Олександр Лук'янов
 
.NET Platform. C# Basics
.NET Platform. C# Basics.NET Platform. C# Basics
.NET Platform. C# Basicseleksdev
 

Similar a Semantic Coding and Microformats (20)

мова html (частина 2)
мова html (частина 2)мова html (частина 2)
мова html (частина 2)
 
лаб. роб. №2 обєкти та сервіси що ними надаються
лаб. роб. №2   обєкти та сервіси що ними надаютьсялаб. роб. №2   обєкти та сервіси що ними надаються
лаб. роб. №2 обєкти та сервіси що ними надаються
 
Лекція №12 Передача параметрів у функцію.pptx
Лекція №12 Передача параметрів у функцію.pptxЛекція №12 Передача параметрів у функцію.pptx
Лекція №12 Передача параметрів у функцію.pptx
 
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML. Форматуванн...
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML.  Форматуванн...Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML.  Форматуванн...
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML. Форматуванн...
 
Урок 29 10 клас
Урок 29 10 класУрок 29 10 клас
Урок 29 10 клас
 
Verstka html
Verstka htmlVerstka html
Verstka html
 
Verstka html
Verstka htmlVerstka html
Verstka html
 
Урок 28 10 клас
Урок 28 10 класУрок 28 10 клас
Урок 28 10 клас
 
Тема 12 - Ініціатива відкритих форматів. XML та метадані.
Тема 12 - Ініціатива відкритих форматів. XML та метадані.Тема 12 - Ініціатива відкритих форматів. XML та метадані.
Тема 12 - Ініціатива відкритих форматів. XML та метадані.
 
всі лр
всі лрвсі лр
всі лр
 
Урок 14. Засоби автоматизації створення текстового документа
Урок 14. Засоби автоматизації створення текстового  документа Урок 14. Засоби автоматизації створення текстового  документа
Урок 14. Засоби автоматизації створення текстового документа
 
Presentation # 24. hypertext markup language concept
Presentation # 24.  hypertext markup language conceptPresentation # 24.  hypertext markup language concept
Presentation # 24. hypertext markup language concept
 
основи Web дизайну
основи Web дизайнуоснови Web дизайну
основи Web дизайну
 
МАПО Лекция 13 Схема компонентов UML
МАПО Лекция 13 Схема компонентов UMLМАПО Лекция 13 Схема компонентов UML
МАПО Лекция 13 Схема компонентов UML
 
3
33
3
 
3
33
3
 
Html перші кроки
Html перші крокиHtml перші кроки
Html перші кроки
 
Довідка по експлуатації програми "Менеджер форматорів"
Довідка по експлуатації програми "Менеджер форматорів"Довідка по експлуатації програми "Менеджер форматорів"
Довідка по експлуатації програми "Менеджер форматорів"
 
.NET Platform. C# Basics
.NET Platform. C# Basics.NET Platform. C# Basics
.NET Platform. C# Basics
 
Html
HtmlHtml
Html
 

Más de Quintagroup

Georgian OCDS API
Georgian OCDS APIGeorgian OCDS API
Georgian OCDS APIQuintagroup
 
Open procurement - Auction module
Open procurement - Auction moduleOpen procurement - Auction module
Open procurement - Auction moduleQuintagroup
 
OpenProcurement toolkit
OpenProcurement toolkitOpenProcurement toolkit
OpenProcurement toolkitQuintagroup
 
Open procurement italian
Open procurement italian Open procurement italian
Open procurement italian Quintagroup
 
Plone SEO: Пошукова оптимізація Плон сайтів
Plone SEO: Пошукова оптимізація Плон сайтівPlone SEO: Пошукова оптимізація Плон сайтів
Plone SEO: Пошукова оптимізація Плон сайтівQuintagroup
 
Plone 4. Що нового?
Plone 4. Що нового?Plone 4. Що нового?
Plone 4. Що нового?Quintagroup
 
Calendar for Plone
Calendar for Plone Calendar for Plone
Calendar for Plone Quintagroup
 
Packages, Releases, QGSkel
Packages, Releases, QGSkelPackages, Releases, QGSkel
Packages, Releases, QGSkelQuintagroup
 
Integrator Series: Large files
Integrator Series: Large filesIntegrator Series: Large files
Integrator Series: Large filesQuintagroup
 
Python Evolution
Python EvolutionPython Evolution
Python EvolutionQuintagroup
 
New in Plone 3.3. What to expect from Plone 4
New in Plone 3.3. What to expect from Plone 4New in Plone 3.3. What to expect from Plone 4
New in Plone 3.3. What to expect from Plone 4Quintagroup
 
Overview of Plone-based websites for mobile devices.
Overview of Plone-based websites for mobile devices.Overview of Plone-based websites for mobile devices.
Overview of Plone-based websites for mobile devices.Quintagroup
 
Ecommerce Solutions for Plone
Ecommerce Solutions for PloneEcommerce Solutions for Plone
Ecommerce Solutions for PloneQuintagroup
 
Templating In Buildout
Templating In BuildoutTemplating In Buildout
Templating In BuildoutQuintagroup
 
Releasing and deploying python tools
Releasing and deploying python toolsReleasing and deploying python tools
Releasing and deploying python toolsQuintagroup
 
Zope 3 at Google App Engine
Zope 3 at Google App EngineZope 3 at Google App Engine
Zope 3 at Google App EngineQuintagroup
 
Plone в урядових проектах
Plone в урядових проектахPlone в урядових проектах
Plone в урядових проектахQuintagroup
 

Más de Quintagroup (20)

Georgian OCDS API
Georgian OCDS APIGeorgian OCDS API
Georgian OCDS API
 
Open procurement - Auction module
Open procurement - Auction moduleOpen procurement - Auction module
Open procurement - Auction module
 
OpenProcurement toolkit
OpenProcurement toolkitOpenProcurement toolkit
OpenProcurement toolkit
 
Open procurement italian
Open procurement italian Open procurement italian
Open procurement italian
 
Plone SEO: Пошукова оптимізація Плон сайтів
Plone SEO: Пошукова оптимізація Плон сайтівPlone SEO: Пошукова оптимізація Плон сайтів
Plone SEO: Пошукова оптимізація Плон сайтів
 
Plone 4. Що нового?
Plone 4. Що нового?Plone 4. Що нового?
Plone 4. Що нового?
 
Calendar for Plone
Calendar for Plone Calendar for Plone
Calendar for Plone
 
Packages, Releases, QGSkel
Packages, Releases, QGSkelPackages, Releases, QGSkel
Packages, Releases, QGSkel
 
Integrator Series: Large files
Integrator Series: Large filesIntegrator Series: Large files
Integrator Series: Large files
 
Python Objects
Python ObjectsPython Objects
Python Objects
 
Python Evolution
Python EvolutionPython Evolution
Python Evolution
 
Screen Player
Screen PlayerScreen Player
Screen Player
 
GNU Screen
GNU ScreenGNU Screen
GNU Screen
 
New in Plone 3.3. What to expect from Plone 4
New in Plone 3.3. What to expect from Plone 4New in Plone 3.3. What to expect from Plone 4
New in Plone 3.3. What to expect from Plone 4
 
Overview of Plone-based websites for mobile devices.
Overview of Plone-based websites for mobile devices.Overview of Plone-based websites for mobile devices.
Overview of Plone-based websites for mobile devices.
 
Ecommerce Solutions for Plone
Ecommerce Solutions for PloneEcommerce Solutions for Plone
Ecommerce Solutions for Plone
 
Templating In Buildout
Templating In BuildoutTemplating In Buildout
Templating In Buildout
 
Releasing and deploying python tools
Releasing and deploying python toolsReleasing and deploying python tools
Releasing and deploying python tools
 
Zope 3 at Google App Engine
Zope 3 at Google App EngineZope 3 at Google App Engine
Zope 3 at Google App Engine
 
Plone в урядових проектах
Plone в урядових проектахPlone в урядових проектах
Plone в урядових проектах
 

Semantic Coding and Microformats

  • 1.
  • 2. Зміст доповіді 1. Семантична верстка 1.1 Що таке семантика і семантична верстка 1.2 Логіка документу 1.3 Елементи, які використовуються у семантичній верстці 1.4 Коротко про HTML 5 1.5 Приклад верстки 1.6 Переваги семантичної верстки 2. Мікроформати. 2.1 Що таке мікроформати 2.2 Які існують мікроформати 2.3 Приклади використання мікроформатів 2.4 Плон і мікроформати
  • 3. Семантика - значення мовних одиниць - окремих слів, фразеологізмів, складових частин слова тощо. Значення слова, виразу. Семантична верстка – це використання html елементів за їх призначенням. Що таке семантика
  • 4. Логіка документу 2.4.1 Розділення структури і представлення HTML має коріння в SGML, який завжди був мовою специфікації структурної розмітки. Оскільки HTML вже достатньо розвинувся, все більше його елементів представлення і атрибутів замінюються іншими механізмами, особливо - таблицями стилів. Досвід показує, що відділення структури документа від його представлення зменшує вартість обслуговування на основі широкого спектру платформ, носіїв і т.д. і полегшує оновлення документів. HTML на первинному етапі свого розвитку містив в собі тільки елементи логічної структуризації контента.
  • 5. 9.2.1 Елементи абзацу: EM , STRONG , DFN , CODE , SAMP , KBD , VAR , CITE , ABBR и ACRONYM Елементи абзацу додають структурну інформацію до фрагментів тексту. Звичайне значення елементів абзацу таке: EM : Вказує акцент. Використовується для виділення тексту. Зазвичай відображається ПА курсивом. STRONG : Вказує сильніший акцент.. Використовується для виділення тексту. Зазвичай відображається ПА як напівжирний. CITE : Містить цитату або посилання на інші джерела. DFN : Указує, що це визначальний зразок терміну, що додається. CODE : Позначає фрагмент комп'ютерного коду. 9.2 Структурований текст
  • 6. SAMP: Позначає типовий вивід програм, сценаріїв, і т.п. KBD : Позначає текст, введений користувачем. VAR : Позначає зразок змінної або програмного аргументу. ABBR : Позначає абревіатуру (напр., WWW, HTTP, URI, Mass. і т.п.). ACRONYM : Позначає акронім (напр., WAC, radar і т.п.). Продовження
  • 7. Абревіатура (лат. abbrevio — скорочую) — складноскорочені слова, утворені з перших літер або з інших частин слів, що входять до складу назви чи поняття. Вживаються в усній та писемній мові. Абревіатури називають також акронімами (від грец. άκρος — «найвищий, крайній» та όνυμος — «ім'я»). (Щодо застосування терміну «акронім» існують різні думки: за однією, акронімами називають будь-які слова, складені з перших літер чи частин слів у скорочуваному словосполученні, за іншою — тільки такі, що вимовляються як цілісні слова, а не як послідовність назв літер). Wikipedia Продовження
  • 8. The BLOCKQUOTE and Q elements Attribute definitions cite = uri [CT] The value of this attribute is a URI that designates a source document or message. This attribute is intended to give information about the source from which the quotation was borrowed. These two elements designate quoted text. BLOCKQUOTE is for long quotations (block-level content) and Q is intended for short quotations (inline content) that don't require paragraph breaks. 9.2.2 Quotations:
  • 9. The SUB and SUP elements Many scripts (e.g., French) require superscripts or subscripts for proper rendering. The SUB and SUP elements should be used to markup text in these cases. З версткою даних елементів є нюнси, по замовчування вони роздувають рядок в якому вони є. 9.2.3 Subscripts and superscripts:
  • 10. The P element The P element represents a paragraph. It cannot contain block-level elements (including P itself). We discourage authors from using empty P elements. User agents should ignore empty P elements. 9.3.1 Paragraphs:
  • 11. The BR element forcibly breaks (ends) the current line of text. 9.3.2 Controlling line breaks
  • 12. In HTML, there are two types of hyphens: the plain hyphen and the soft hyphen. The plain hyphen should be interpreted by a user agent as just another character. The soft hyphen tells the user agent where a line break can occur. Those browsers that interpret soft hyphens must observe the following semantics: If a line is broken at a soft hyphen, a hyphen character must be displayed at the end of the first line. If a line is not broken at a soft hyphen, the user agent must not display a hyphen character. For operations such as searching and sorting, the soft hyphen should always be ignored. In HTML, the plain hyphen is represented by the &quot;-&quot; character (&#45; or &#x2D;). The soft hyphen is represented by the character entity reference &shy; (&#173; or &#xAD;) 9.3.3 Hyphenation
  • 13. The INS and DEL elements Attribute definitions cite = uri [CT] The value of this attribute is a URI that designates a source document or message. This attribute is intended to point to information explaining why a document was changed. datetime = datetime [CS] The value of this attribute specifies the date and time when the change was made. INS and DEL are used to markup sections of the document that have been inserted or deleted with respect to a different version of a document (e.g., in draft legislation where lawmakers need to view the changes). These two elements are unusual for HTML in that they may serve as either block-level or inline elements (but not both). They may contain one or more words within a paragraph or contain one or more block-level elements such as paragraphs, lists and tables. 9.4 Marking document changes:
  • 14. 10.2 Unordered lists (UL), ordered lists (OL), and list items (LI) Ordered and unordered lists are rendered in an identical manner except that visual user agents number ordered list items. User agents may present those numbers in a variety of ways. Unordered list items are not numbered. Both types of lists are made up of sequences of list items defined by the LI element (whose end tag may be omitted). Definition lists vary only slightly from other types of lists in that list items consist of two parts: a term and a description. The term is given by the DT element and is restricted to inline content. The description is given with a DD element that contains block-level content. Another application of DL, for example, is for marking up dialogues, with each DT naming a speaker, and each DD containing his or her words.
  • 15. Елементи DIV & SPAN div – блочний елемент span – строковий елемент 7.5.4 Групування елементів: елементи DIV і SPAN Елементи DIV і SPAN в комбінації з атрибутами id і class надають загальний механізм для додавання структури для документу. Дані елементи визначають вміст як строковий (SPAN) чи рівня блоку (DIV), але не нав'язують інших ідіом представлення вмісту. Таким чином, автори можуть використовувати дані елементи в комбінації з таблицями стилів, атрибутом lang і т. д. і пристосувати HTML до виконання потрібних завдань.
  • 16. HTML 5 Приклади нових елементів HTML 5 3.8 Sections 3.8.1 The body element 3.8.2 The section element 3.8.3 The nav element 3.8.4 The article element 3.8.5 The aside element 3.8.6 The h1 , h2 , h3 , h4 , h5 , and h6 elements 3.8.7 The header element 3.8.8 The footer element 3.8.9 The address element WHATWG - &quot;Web Hypertext Application Technology Working Group&quot; ( www.whatwg.org ) The WHATWG was founded by individuals of Apple, the Mozilla Foundation, and Opera Software in 2004,
  • 17. Код: <div class=&quot;heading1&quot;> Я текст схожий візуально на заголовок першого рівня </div> <div class=&quot;paragraph&quot;> Я текст схожий на параграф </div> <h1&quot;> Я справжній заголовок першого рівня </h1> <p> Я справжній параграф </p> Стилі : .heading1 { font-size:32px; font-weight:bold; margin:22px 0; } Приклад верстки
  • 18. Переваги семантики 1. Підвищення доступності сайту для альтернативних пристроїв перегляду - мобильні переглядачі - голосові переглядачі - версія сайту для друку - пошукові боти 2. Зрозуміла структура коду. 3. Зменшення кількості коду. 4. Позитивна оцінка колег.
  • 19. Microformats are small bits of HTML that represent things like people, events, tags, etc. in web pages. Microformats enable the publishing of higher fidelity information on the Web, providing the fastest and simplest way to support feeds and APIs for your website. See more explanations of what are microformats, and what you can do with them. Мікроформати
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. Використання мікроформатів Новини Feedburner, news.google.com hAtom Адресна книга plaxo, linkedin, facebook hCard + XFN Календарі upcoming, ckopo.in.ua hCalendar
  • 25. upcoming.yahoo.com - hCalendar Tails Export Firefox Add-ons
  • 26. Operator by Michael Kaply Operator leverages microformats and other semantic data that are already available on many web pages to provide new ways to interact with web services. Tails Export by Robert de Bruin An extension for Showing and Exporting Microformats. Currently it supports the following formats... Firefox Add-ons
  • 28. Посилання HTML 4.01 Specification - http://www.w3.org/TR/html401 Семантическая вёрстка - http://pepelsbey.net/2008/04/semantic-coding-1/ Семантическая верстка — советы и решения - http://flack.ru/2007/11/29/semantic-coding-howto-1/ Microformats - http://microformats.org