標籤:

What are the Differences between HTML5 and HTML 5.1?

What are the Differences between HTML5 and HTML 5.1?

1. new elements:

main

old way:

<div role="main"> n <!-- n the _traditional_ role of main, now superseded by the <main> element n -->n</div>n

now new way:

<main role="main">nt<!-- the same content -->n</main>n

more coming soon ..

**********************************************************************************************************

Many web designers wonder these days about the differences betweenHTML5.1 and HTML 5.

HTML 5.1 introduced new elements, attributes, and features, extending HTML 5 with the following:

  • DOMElementMap, document.cssElementMap
  • CanvasProxy, transferControlToProxy()
  • probablySupportsContext()
  • setContext()
  • forceSpellCheck()
  • inert attribute
  • table sorting
  • menu, menuitem, contextmenu
  • allowFullScreen
  • fastSeek()
  • toDataURLHD(), toBlobHD()
  • Autocomplete limited to on|off, inputmode
  • ImageBitmap
  • details and summary element
  • dialog element
  • :dir() pseudoclass
  • seamless iframes
  • isContentHandlerRegistered() andisProtocolHandlerRegistered() methods
  • datetime, datetime-local, week, month input types
  • reportValidity() method
  • scoped style
  • XMLDocument interface
  • picture element and srcset attribute

1

Semantic Web

The term 「Semantic Web」 refers to W3C』s vision of the Web of linked data.

What is Linked Data?

The Semantic Web is a Web of Data — of dates and titles and part numbers and chemical properties and any other data one might conceive of. The collection of Semantic Web technologies (RDF, OWL, SKOS, SPARQL, etc.) provides an environment where application can query that data, draw inferences using vocabularies, etc.

However, to make the Web of Data a reality, it is important to have the huge amount of data on the Web available in a standard format, reachable and manageable by Semantic Web tools. Furthermore, not only does the Semantic Web need access to data, but relationships among data should be made available, too, to create a Web of Data (as opposed to a sheer collection of datasets). This collection of interrelated datasets on the Web can also be referred to as Linked Data.

JavaScript Object Notation for Linked Data (JSON-LD)

Resource Description Framework (RDF)

RDF in attributes (RDFa)

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1


推薦閱讀:

想做一個H5,想請教一般需要如何構思創意及思路?
如何系統學習Web全棧開發?
怎樣自定義並使用websocket子協議?
移動端自適應疑問?

TAG:HTML5 |