Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Semantic Web
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Limitations of HTML === Many files on a typical computer can be loosely divided into either human-readable documents, or machine-readable data. Examples of human-readable document files are mail messages, reports, and brochures. Examples of machine-readable data files are calendars, address books, playlists, and spreadsheets, which are presented to a user using an application program that lets the files be viewed, searched, and combined. Currently, the World Wide Web is based mainly on documents written in [[Hypertext Markup Language]] (HTML), a markup convention that is used for coding a body of text interspersed with multimedia objects such as images and interactive forms. Metadata tags provide a method by which computers can categorize the content of web pages. In the examples below, the field names "keywords", "description" and "author" are assigned values such as "computing", and "cheap widgets for sale" and "John Doe". <syntaxhighlight lang="html"> <meta name="keywords" content="computing, computer studies, computer" /> <meta name="description" content="Cheap widgets for sale" /> <meta name="author" content="John Doe" /> </syntaxhighlight> Because of this metadata tagging and categorization, other computer systems that want to access and share this data can easily identify the relevant values. With HTML and a tool to render it (perhaps [[web browser]] software, perhaps another [[user agent]]), one can create and present a page that lists items for sale. The HTML of this catalog page can make simple, document-level assertions such as "this document's title is 'Widget Superstore{{'"}}, but there is no capability within the HTML itself to assert unambiguously that, for example, item number X586172 is an Acme Gizmo with a retail price of β¬199, or that it is a consumer product. Rather, HTML can only say that the span of text "X586172" is something that should be positioned near "Acme Gizmo" and "β¬199", etc. There is no way to say "this is a catalog" or even to establish that "Acme Gizmo" is a kind of title or that "β¬199" is a price. There is also no way to express that these pieces of information are bound together in describing a discrete item, distinct from other items perhaps listed on the page. [[Semantic HTML]] refers to the traditional HTML practice of markup following intention, rather than specifying layout details directly. For example, the use of {{tag|em|o}} denoting "emphasis" rather than {{tag|i|o}}, which specifies [[italics]]. Layout details are left up to the browser, in combination with [[Cascading Style Sheets]]. But this practice falls short of specifying the semantics of objects such as items for sale or prices. Microformats extend HTML syntax to create [[Machine-readable data|machine-readable]] semantic markup about objects including people, organizations, events and products.<ref>{{cite book |last=Allsopp |first=John |title=Microformats: Empowering Your Markup for Web 2.0 |date=March 2007 |publisher=[[Apress|Friends of ED]] |isbn=978-1-59059-814-6 |page=[https://archive.org/details/isbn_9781590598146/page/368 368] |url-access=registration |url=https://archive.org/details/isbn_9781590598146/page/368 }}</ref> Similar initiatives include [[RDFa]], [[Microdata (HTML)|Microdata]] and [[Schema.org]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)